set_byte_array
Description:
public void set_byte_array (
owned ByteArray buffer)
Set buffer to be the backing data to the existing StreamMem,
this.
Note: this will not take ownership of buffer and so will need to be freed separately from
this.
Parameters:
| this |
a StreamMem object
|
| buffer |
a ByteArray
|