Deserializer class
A utility class to convert byte arrays to numbers.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
getFiveBytesLong(
List< int> buffer, int offset) → int - Converts five bytes of a byte array to a 40-bit integer.
-
getInt(
Uint8List buffer, int offset) → int - Converts four bytes of a byte array to a signed 32-bit integer.
-
getLong(
Uint8List buffer, int offset) → int - Converts eight bytes of a byte array to a signed 64-bit integer.
-
getShort(
Uint8List buffer, int offset) → int - Converts two bytes of a byte array to a signed 16-bit integer.