Buffer.fill

Copy size bytes from src to buffer at offset.

class Buffer
fill
(,
void[] src
)

Parameters

offset gsize

the offset to fill

src void[]

the source address. [array length=size][element-type guint8]

Return Value

Type: gsize

The amount of bytes copied. This value can be lower than size when buffer did not contain enough data.

Meta