Blob
Object Hierarchy:
Description:
[ CCode ( copy_function = "g_boxed_copy" , free_function = "g_boxed_free" , type_id = "gda_blob_get_type ()" ) ]
[ Compact ]
public class Blob
Represents some binary data, accessed through a BlobOp object.
op is generally set up by database providers when giving access to an existing BLOB in a database, but can be modified if
needed using set_op.
Content:
Creation methods:
- public Blob ()
Creates a new Blob.
Methods:
- public Blob copy ()
Creates a new Blob structure from an
existing one.
- public void free ()
Deallocates all memory associated to the given
Blob.
- public unowned Binary get_binary ()
- public unowned BlobOp get_op ()
- public void set_op (BlobOp? op)
Correctly assigns op to this
(increases op's reference count)
- public string to_string (uint maxlen)
Converts all the non printable characters of blob->data into the
\xxx representation where xxx is the octal representation of the byte, and the '\' (backslash) character is converted to "\\".