MqttBinaryDataEncoding class

Binary Data is represented by a Two Byte Integer length which indicates the number of data bytes, followed by that number of bytes. Thus, the length of Binary Data is limited to the range of 0 to 65,535 Bytes.

Constructors

MqttBinaryDataEncoding()

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

fromBinaryData(Uint8Buffer data) → Uint8Buffer
From binary data
length(Uint8Buffer data) int
Length of a binary data sequence
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toBinaryData(Uint8Buffer? data) → Uint8Buffer
To binary data
toString() String
A string representation of this object.
inherited

Operators

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