L2CapChannel class abstract

A simple, raw read and write wrapper around an L2CAP COC.

Constructors

L2CapChannel()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() Future<void>
Closes the channel.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
read(int maxRead) Future<Uint8List?>
Reads up to maxRead bytes for the channel and returns how much was written.
toString() String
A string representation of this object.
inherited
write(Uint8List data) Future<int>
Writes to the channel and returns how much was written.

Operators

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