MySQL 9.0.0
Source Code Documentation
s_mysql_mysql_string_byte_access Struct Reference

Service to get a byte in String and number of bytes in string. More...

#include <mysql_string.h>

Public Attributes

mysql_service_status_t(* get_byte )(my_h_string string, uint index, uint *out_char)
 Gets byte code of string at specified index position to a specified 32-bit buffer. More...
 
mysql_service_status_t(* get_byte_length )(my_h_string string, uint *out_length)
 Gets length of specified string expressed as number of bytes. More...
 

Detailed Description

Service to get a byte in String and number of bytes in string.

Member Data Documentation

◆ get_byte

mysql_service_status_t(* s_mysql_mysql_string_byte_access::get_byte) (my_h_string string, uint index, uint *out_char)

Gets byte code of string at specified index position to a specified 32-bit buffer.

Parameters
stringString object handle to get character from.
indexIndex, position of character to query.
[out]out_charPointer to 32bit value to store byte to.
Returns
Status of performed operation
Return values
falsesuccess
truefailure

◆ get_byte_length

mysql_service_status_t(* s_mysql_mysql_string_byte_access::get_byte_length) (my_h_string string, uint *out_length)

Gets length of specified string expressed as number of bytes.

Parameters
stringString object handle to get length of.
[out]out_lengthPointer to 32bit value to store length of string to.
Returns
Status of performed operation
Return values
falsesuccess
truefailure

The documentation for this struct was generated from the following file: