peek_memory


Description:

public unowned Memory? peek_memory (uint idx)

Gets the memory block at idx in this.

The memory block stays valid until the memory block in this is removed, replaced or merged, typically with any call that modifies the memory in this.

Parameters:

this

a Buffer.

idx

an index

Returns:

the Memory at idx.