get_memory_range


Description:

public Memory? get_memory_range (uint idx, int length)

Gets length memory blocks in this starting at idx.

The memory blocks will be merged into one large Memory.

If length is -1, all memory starting from idx is merged.

Parameters:

this

a Buffer.

idx

an index

length

a length

Returns:

a Memory that contains the merged data of length blocks starting at idx.