Input class

The Input class provides data access primitives to the underlying UTF-8 data buffer supplied.

Constructors

Input(Uint8Buffer data)
Default

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

getByte() int
Get a single byte.
getBytes(int count) → Uint8Buffer
Get the number of bytes specified.
getDoubleFloat(Uint8Buffer buff) double
Get a double-precision float from a buffer value.
getHalfFloat(int val) double
Get a half-precision float from an integer value.
getInt() int
Get an int, 32 bits.
getLong() int
Get a long, 64 bits.
getShort() int
Get a short, 16 bits.
getSingleFloat(Uint8Buffer buff) double
Get a single-precision float from a buffer value.
hasBytes(int count) bool
Does the input have the numbe of bytes.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
Reset the offset.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited