RawData.resize

From MiniScript Wiki
Revision as of 21:28, 26 March 2020 by JoeStrout (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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