Function ion_c_sys::ion_string_get_bytes[][src]

pub unsafe extern "C" fn ion_string_get_bytes(
    str_: *mut ION_STRING
) -> *mut BYTE
Expand description

Gets a pointer to the UTF-8 bytes held by the string. The number of bytes in the string is determined via ion_string_get_length().

@param str must not be null.

@return a pointer to the first UTF-8 byte in the string; may be null. The byte sequence is not null-terminated.