extract_dup


Description:

[ Version ( since = "1.0.10" ) ]
public void extract_dup (size_t offset, size_t size, out uint8[] dest)

Extracts a copy of at most size bytes the data at offset into newly-allocated memory.

dest must be freed using g_free when done.

Parameters:

this

a Buffer

offset

the offset to extract

size

the size to extract

dest

A pointer where the destination array will be written. Might be null if the size is 0.

dest_size

A location where the size of dest can be written