MqttTwoByteIntegerProperty class

Two Byte Integer data values are 16-bit unsigned integers in big-endian order: the high order byte precedes the lower order byte. This means that a 16-bit word is presented on the network as Most Significant Byte (MSB), followed by Least Significant Byte (LSB).

Implemented types

Constructors

MqttTwoByteIntegerProperty([MqttPropertyIdentifier? identifier])
Construction

Properties

hashCode int
The hash code for this object.
no setterinherited
identifier MqttPropertyIdentifier?
Identifier
getter/setter pairoverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int?
Value
getter/setter pairoverride-getter

Methods

getWriteLength() int
Gets the length of the write data when WriteTo will be called.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readFrom(MqttByteBuffer stream) → void
Deserialize from a byte buffer stream
override
toString() String
A string representation of this object.
override
writeTo(MqttByteBuffer stream) → void
Serialize to a byte buffer stream
override

Operators

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

Constants

length → const int
Read/Write length