ByteAccumulatorSink class
A sink that provides access to the concatenated bytes passed to it.
See also ByteConversionSink.withCallback.
- Inheritance
- Object
- ChunkedConversionSink<
List< int>> - ByteConversionSink
- ByteConversionSinkBase
- ByteAccumulatorSink
Constructors
Properties
Methods
-
add(
List< int> bytes) → void -
Adds chunked data to this sink. [...]
override
-
addSlice(
List< int> chunk, int start, int end, bool isLast) → void -
Adds the next
chunk
tothis
. [...]override -
clear(
) → void - Removes all bytes from bytes. [...]
-
close(
) → void -
Closes the sink. [...]
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator. [...]
inherited