This class wraps a ByteBuffer to get data from a byte[] array. All numeric values are read in little endian byte order.
More...
|
| ByteReader (byte[] data) |
|
void | Skip (short lenShort) |
|
byte | GetByte () |
|
short | GetShort () |
|
int | GetInt () |
|
long | GetIntUnsigned () |
|
long | GetLong () |
|
float | GetFloat () |
|
double | GetDouble () |
|
byte [] | GetBytes (int length) |
|
string | GetStringAscii (int length) |
|
string | GetStringUtf8 (int length) |
|
bool | GetBoolean () |
|
This class wraps a ByteBuffer to get data from a byte[] array. All numeric values are read in little endian byte order.
All numeric data is signed unless the method specifies otherwise - e.g. getIntUnsigned()
- Copyright
- Copyright (c) DeviceAtlas Limited 2023. All Rights Reserved.
- Author
- DeviceAtlas Limited
The documentation for this class was generated from the following file:
- Src/API/Com/DeviceAtlas/Carrier/ByteReader.cs