ChunkedOutputWriter class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
lengthInBytes
→ int
-
Get the total available bytes in all chunk buffers (excluding bytes already de-queued from head buffer).
no setter
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addFirst(Uint8List chunk)
→ void
-
Add a
chunk
to the head of the buffer queue
-
addLast(Uint8List chunk)
→ void
-
Append a
chunk
to the buffer queue
-
clear()
→ void
-
Clear buffer
-
joinChunks()
→ Uint8List
-
Join all chunk blocks into a contiguous chunk
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
pipe(Sink? destination)
→ void
-
Pipe all buffered chunks to
destination
and clear the buffer queue
-
toString()
→ String
-
A string representation of this object.
inherited