DataInput class

Implementers

Constructors

DataInput.fromUint8List(Uint8List data)

Properties

data Uint8List
read / write
fileLength int
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
offset int
read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
view ByteData
read / write

Methods

fillList(List one, List two) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
pad() → void
readBoolean() bool
readByte([bool eofException = true]) int
Returns the byte(-128 - 127) at offset. if eofException is false then if it reaches the end of the stream it will return -129. Otherwise it will throw an exception.
readBytes(int numBytes) Uint8List
readChar([Endian endian = Endian.big]) String
readDouble([Endian endian = Endian.big]) double
readFloat([Endian endian = Endian.big]) double
readFully(List bytes, {int len, int off, Endian endian: Endian.big}) → void
readInt([Endian endian = Endian.big]) int
readLine([Endian endian = Endian.big]) String
readLong([Endian endian = Endian.big]) int
readShort([Endian endian = Endian.big]) int
readUnsignedByte([bool eofException = true]) int
Returns the byte(0-255) at offset. if eofException is false then if it reaches the end of the stream it will return -1, Otherwise it will throw an exception.
readUnsignedShort([Endian endian = Endian.big]) int
readUTF([Endian endian = Endian.big]) String
skipBytes(int n) int
toString() String
A string representation of this object. [...]
inherited

Operators

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