Package: glib
Function glib:bytes-data
Lambda Listglib:bytes-data (bytes) ArgumentsReturn Value data -- a pointer to the byte data, or a cffi:null-pointer value size -- an integer with the size of the byte data Details Get the byte data in the g:bytes instance. This function will always return the same pointer for a given g:bytes
instance. A cffi:null-pointer value may be returned if the size value is 0. This is not guaranteed, as the g:bytes instance may represent an empty string with data not a cffi:null-pointer value and the size value as 0. A cffi:null-pointer value will not be returned if the size value is non-zero. | See also |
2024-12-29