IntCodec class abstract

Interface to encode/decode int and Uint (16 and 32 bits).

Implementers

Constructors

IntCodec()

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

getInt16(int position, Endian endian) int
Same as ByteData.getInt16.
getInt32(int position, Endian endian) int
Same as ByteData.getInt32.
getUint16(int position, Endian endian) int
Same as ByteData.getUint16.
getUint32(int position, Endian endian) int
Same as ByteData.getUint32.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setInt16(int position, int n, Endian endian) → void
Same as ByteData.setInt16.
setInt32(int position, int n, Endian endian) → void
Same as ByteData.setInt32.
setUint16(int position, int n, Endian endian) → void
Same as ByteData.setUint16.
setUint32(int position, int n, Endian endian) → void
Same as ByteData.setUint32.
toString() String
A string representation of this object.
inherited

Operators

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