string_to_binary


Description:


public Binary string_to_binary (string? str)

Performs the reverse of to_string (note that for any "\xyz" succession of 4 characters where "xyz" represents a valid octal value, the resulting read value will be modulo 256).

I str is null, then an empty (i.e. where the data part is null) Binary is created and returned.

Parameters:

str

a string to convert, or null

Returns:

a new Binary if no error were found in str, or null otherwise


Namespace: Gda
Package: libgda-6.0