BytesReader class Null safety

Defines the base class supporting reads from a stream of bytes

Implementers

Constructors

BytesReader(Uint8List list, {Encoding? stringEncoder})
Builds a BytesReader from a byte list [...]

Properties

copyBinaryData bool
If false, decoded binary data buffers will reference underlying input buffer and thus may change when the content of input buffer changes. [...]
final
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
read() → dynamic
readArray(int length) List
Reads a List from the backing buffer [...]
readBuffer(int length) Uint8List
Reads a Uint8List from the backing buffer [...]
readFloat32() double
Reads a float32 from the backing buffer
readFloat64() double
Reads a float64 from the backing buffer
readInt8() int
Reads a int8 from the backing buffer
readInt16() int
Reads a int16 from the backing buffer
readInt32() int
Reads a int32 from the backing buffer
readInt64() int
Reads a int64 from the backing buffer
readMap(int length) Map
Reads a Map from the backing buffer [...]
readString(int length) String
Reads a String from the backing buffer [...]
readUInt8() int
Reads a uint8 from the backing buffer
readUInt16() int
Reads a uint16 from the backing buffer
readUInt32() int
Reads a uint32 from the backing buffer
readUInt64() int
Reads a uint64 from the backing buffer
toString() String
A string representation of this object. [...]
inherited

Operators

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