ChunkBuffer class
A buffer that can queue chunks of data and consume parts or all of them as needed. Primarily used for reading data from a socket.
Constructors
Properties
Methods
-
add(
Uint8List data) → void -
clear(
) → void -
consume(
[int? length]) → Uint8List -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
-
view(
int start, int length) → Uint8List
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited