gda.blob

Module for [Blob] class

class Blob

Types 1

Represents some binary data, accessed through a #GdaBlobOp 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 [gda.blob.Blob.setOp].

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
Blob self()Returns `this`, for use in `with` statements.
gda.binary.Binary data() @propertyGet `data` field. Returns: data buffer, as a #GdaBinary
gda.blob_op.BlobOp op() @propertyGet `op` field. Returns: a pointer to a #GdaBlopOp, or null
void op(gda.blob_op.BlobOp propval) @propertySet `op` field. Params: propval = a pointer to a #GdaBlopOp, or null
void setOp(gda.blob_op.BlobOp op = null)correctly assigns op to blob
string toString_(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 "\\".
void * copy(void * boxed = null)Creates a new #GdaBlob structure from an existing one.
void free(void * boxed = null)Deallocates all memory associated to the given #GdaBlob.
Constructors
this(gda.blob_op.BlobOp op = gda.blob_op.BlobOp.init)Create a `blob.Blob` boxed type. Params: op = a pointer to a #GdaBlopOp, or null
this(void * ptr, Flag!"Take" take)