RawData.resize

From MiniScript Wiki
Jump to navigation Jump to search

RawData.resize resizes the raw data buffer to the given number of bytes. Previous data (if any) is retained to the extent that it will fit in the new buffer.

Arguments

Parameter Name Type Default Value Meaning
bytes number 32 new buffer size, in bytes