RawData
Jump to navigation
Jump to search
The RawData
class in Mini Micro represents a buffer of raw bytes. Interpretation of these bytes is entirely up to the programmer.
Properties
Property Name | Type | Default Value | Meaning |
---|---|---|---|
littleEndian |
number (boolean) | true | whether multi-byte values are stored with least significant byte first |
Methods
Method | Description |
---|---|
len |
returns the length of the raw data buffer, in bytes |
resize(bytes=32) |
change the size of the raw data buffer |