ByteConversionSink class - dart:convert library (original) (raw)
The ByteConversionSink provides an interface for converters to efficiently transmit byte data.
Instead of limiting the interface to one non-chunked list of bytes it accepts its input in chunks (themselves being lists of bytes).
Implemented types
Constructors
const
ByteConversionSink.from(Sink<List<int>> sink)
factory
ByteConversionSink.withCallback(void callback(List<int> accumulated))
factory
Properties
The hash code for this object.
no setterinherited
A representation of the runtime type of the object.
no setterinherited
Methods
Adds chunked data to this sink.
inherited
addSlice(List<int> chunk, int start, int end, bool isLast)→ void
Adds the next chunk
to this
.
close()→ void
Closes the sink.
inherited
noSuchMethod(Invocation invocation)→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
A string representation of this object.
inherited
Operators
operator ==(Object other)→ bool
The equality operator.
inherited