BufferedReader class
A buffered byte reader that accumulates data from a socket stream and allows reading exact byte counts asynchronously.
Constructors
Properties
Methods
-
addData(
List< int> data) → void -
Appends incoming socket
datato the internal buffer and notifies any pending readExactly calls. -
close(
) → void - Marks the reader as closed, preventing further reads.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readExactly(
int count) → Future< Uint8List> -
Reads exactly
countbytes from the buffer, waiting for more data to arrive if the buffer does not yet contain enough. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited