Binary

Constructors

this
this(glong binaryLength)

Create a binary.Binary boxed type.

this
this(void* ptr, Flag!"Take" take)

Members

Functions

_cPtr
void* _cPtr(Flag!"Dup" dup)
self
Binary self()

Returns this, for use in with statements.

toString_
string toString_(uint maxlen)

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.

Properties

_gType
GType _gType [@property getter]
binaryLength
glong binaryLength [@property getter]

Get binaryLength field.

binaryLength
glong binaryLength [@property setter]

Set binaryLength field.

Static functions

_getGType
GType _getGType()
copy
void* copy(void* boxed)

Creates a new #GdaBinary structure from an existing one.

free
void free(void* boxed)

Deallocates all memory associated to the given #GdaBinary.

Inherited Members

From Boxed

cInstancePtr
void* cInstancePtr;

Pointer to the C boxed value

_getGType
GType _getGType()

Get the GType of this boxed type.

_gType
GType _gType [@property getter]

Boxed GType property.

self
Boxed self()

Convenience method to return this cast to a type. For use in D with statements.

copy_
void* copy_()

Make a copy of the wrapped C boxed data.

boxedCopy
void* boxedCopy(void* cBoxed)

Copy a C boxed value using g_boxed_copy.

boxedFree
void boxedFree(void* cBoxed)

Free a C boxed value using g_boxed_free.