ChunkedInputReader class
Properties
hashCode
→ int
The hash code for this object.
no setter inherited
length
→ 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 setter inherited
Methods
add (List <int > chunk )
→ void
Add a chunk
to the buffer queue
noSuchMethod (Invocation invocation )
→ dynamic
Invoked when a nonexistent method or property is accessed.
inherited
peekNextByte ()
→ int ?
Return the next byte in the buffer without modifying the read pointer.
Returns the int value of the next byte or null if no data is available
read (List <int > destination , int count , [int offset = 0 ])
→ int
Try to read count
bytes into destination
at the specified offset
.
This method will automatically de-queue exhausted head buffers from the queue
and will return the total number of bytes written
toString ()
→ String
A string representation of this object.
inherited