extract


Description:

public size_t extract (size_t offset, out unowned uint8[] dest)

Copies dest.length bytes starting from offset in this to dest.

Parameters:

this

a Buffer.

offset

the offset to extract

dest

the destination address

size

the size to extract

Returns:

The amount of bytes extracted. This value can be lower than dest.length when this did not contain enough data.




2022 vala-language.org