Csafe class

Constructors

Csafe(Stream<Uint8List> read(), dynamic write(Uint8List))
Create a new Csafe object for parsing Csafe Data by passing in a read and write function

Properties

hashCode int
The hash code for this object.
no setterinherited
read Stream<Uint8List> Function()
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
write ↔ dynamic Function(Uint8List)
getter/setter pair

Methods

destroy() → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sendCommands(List<CsafeCommand> commands, [int? sizeLimit]) Future<List<CsafeCommandResponse>>
Sends a list of CsafeCommands to a PM using the read and write handlers
toString() String
A string representation of this object.
inherited

Operators

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