Deallocates all memory associated to the given #GdaBinary.
Frees data referenced by #GdaBinary
Set binary data to a #GdaBinary, holding a copy of the data.
value to be copied by #GdaBinary.
Set binary data to a #GdaBinary, directly holding val
(no copy made).
value to be taken by #GdaBinary.
Converts all the non printable characters of bin->data into the "\xyz" representation where "xyz" is the octal representation of the byte, and the '' (backslash) character is converted to "\". Printable characters (defined by g_ascii_isprint()) as well as newline character are not converted.
Note that the backslash and newline characters are considered as printable characters and will not be represented by the "\xyz" representation.
Use this function to get a representation as much readable by humans as possible of a binary chunk. Note that this function is internally called when transforming a binary value to a string for example when using g_value_transform() or gda_value_stringify().
a maximum len used to truncate, or %0 for no maximum length
Creates a new #GdaBinary coping data.