ByteReader.dupData

Free-function: g_free

Returns a newly-allocated copy of the current data position if at least size bytes are left and updates the current position. Free with g_free() when no longer needed.

class ByteReader
bool
dupData
(
out ubyte[] val
)

Parameters

val ubyte[]

address of a guint8 pointer variable in which to store the result

Return Value

Type: bool

TRUE if successful, FALSE otherwise.