BufferReader class

Buffer Reader

Constructors

BufferReader(Buffer buffer)
Creates a view over buffer that maintains its offset position while reading data from the buffer.
BufferReader.fromList(Iterable<int> bytes)
Creates a BufferReader from a list of bytes.
BufferReader.fromUint8List(Uint8List bytes)
Creates a BufferReader from a Uint8List

Properties

buffer Buffer
The buffer to traverse.
final
hashCode int
The hash code for this object.
no setterinherited
offset int
The current offset.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

get([int? length]) Buffer
Creates a new Buffer from a region of buffer and advances the internal offset by length.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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