BytesChannel class

This class present chanell that send and recive bytes Uint8List

Inheritance

Constructors

BytesChannel.new({required String name})

Properties

hashCode int
The hash code for this object.
no setterinherited
name String
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decodeInput(Uint8List data) Uint8List
decode the input of the channel to bytes
override
decodeOutput(Uint8List data) Uint8List
decode the output of the channel to bytes
override
encodeInput(Uint8List data) Uint8List
encode the input of the channel from bytes
override
encodeOutput(Uint8List data) Uint8List
encode the output of the channel from bytes
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
send(Uint8List msg) Future<Uint8List?>
send message through the channel
inherited
setHandler(void handler(Uint8List, Reply<Uint8List>)) → void
set the handler used to handel the channel message
inherited
toString() String
A string representation of this object.
inherited

Operators

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