NetworkStream class

Constructors

NetworkStream(Client client, NetworkStreamHandle handle)

Properties

client → Client
final
handle NetworkStreamHandle
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Gracefully closes the given raw byte stream.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readExact(int len) Future<List<int>>
Reads exactly the given number of bytes from the given raw byte stream.
toString() String
A string representation of this object.
override
writeAll(List<int> buf) Future<void>
Writes the whole buffer to the given raw byte stream.

Operators

operator ==(Object other) bool
The equality operator.
override