copy


Description:

public void copy (uint8[] dest, size_t offset)

Copies dest.length bytes of data starting at offset out of the buffers contained in Adapter into an array dest provided by the caller.

The array dest should be large enough to contain dest.length bytes. The user should check that the adapter has ( offset + dest.length) bytes available before calling this function.

Parameters:

this

a Adapter

dest

the memory to copy into

offset

the bytes offset in the adapter to start from

size

the number of bytes to copy