ByteAccumulatorSink class
A sink that provides access to the concatenated bytes passed to it.
See also ByteConversionSink.withCallback.
- Inheritance
-
- Object
- ByteConversionSinkBase
- ByteAccumulatorSink
Constructors
Properties
Methods
-
add(
List< int> chunk) → 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 nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited