Buffer.extract

Copy @size bytes starting from @offset in @buffer to @dest.

class Buffer
size_t
extract
(
size_t offset
,
ubyte[] dest
)

Parameters

offset size_t

the offset to extract

dest ubyte[]

the destination address

Return Value

Type: size_t

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

Meta