RecordReaderBase class
Platform-neutral core of the @HybridRecord binary reader.
Counterpart to RecordWriterBase. Fields must be read in the same order they were written.
- Implementers
Constructors
- RecordReaderBase.fromFramedBytes(Uint8List framed, [int payloadOffset = 0])
-
Wraps a framed byte list (
[4B len][payload]) without copying: reads the length prefix and views the payload. - RecordReaderBase.fromPayload(Uint8List payload, [int _pos = 0])
-
Positions the reader at
poswithinpayload— the region after the 4-byte outer length prefix of the framed form.
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
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readBlob(
) → Uint8List -
readBool(
) → bool -
readDouble(
) → double -
readFloat64(
) → double -
readInt(
) → int -
readInt32(
) → int -
readInt64(
) → int -
readInt8(
) → int -
readNullTag(
) → bool -
Returns
trueif the next value is null (tag byte == 0). -
readString(
) → String -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited