ByteArray.prepend

Adds the given data to the start of the #GByteArray. 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: the #GByteArray

Meta