The DeviceAtlas Carrier documentation
Public Member Functions | List of all members
Com.DeviceAtlas.Carrier.ByteReader Class Reference

This class wraps a ByteBuffer to get data from a byte[] array. All numeric values are read in little endian byte order. More...

Public Member Functions

 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 ()
 

Detailed Description

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()

Author
DeviceAtlas Limited

The documentation for this class was generated from the following file: