DataReader class
Normal Data Reader
- Inheritance
-
- Object
- BaseDataReader
- DataReader
Constructors
- DataReader(ByteBufferReader reader)
Properties
Methods
-
destroy(
) → void -
Destroy reader
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed.
inherited
-
readBytes(
{int length}) → FutureOr< List< int> > -
Read bytes from byte buffer reader
inherited
-
readInt(
{bool bigEndian = true}) → FutureOr< int> - Read four-bytes int
-
readOneByte(
) → FutureOr< int> -
Read one byte from byte buffer reader
inherited
-
readShort(
{bool bigEndian = true}) → FutureOr< int> - Read two-bytes int
-
readString(
{bool keepLineBreak = true}) → FutureOr< String> - Read one line string
-
readUntil(
{List< List< terminators, bool needRemoveTerminator = false, bool endTerminate = false}) → FutureOr<int> >List< int> > -
Read until terminators match
inherited
-
releaseStream(
) → Stream< List< int> > -
Release byte buffer reader stream
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited