ByteArray.prepend

Adds the given data to the start of the glib.ByteArray The array will grow in size automatically if necessary.

class ByteArray
prepend
(
ubyte* data
,
uint len
)

Parameters

data ubyte*

the byte data to be added

len uint

the number of bytes to add

Return Value

Type: ByteArray