set_buffer


Description:

public void set_buffer (uint8[] buffer)

Set buffer to be the backing data to the existing StreamMem, this.

Note: buffer will be copied into an internal ByteArray structure and so may have resource implications to consider.

Parameters:

this

a StreamMem object

buffer

a memory buffer

len

length of buffer