-
public class MultiByteIntegerRepresents a Multi-Byte Integer (MBI), as defined by the MQTT V3 specification.
-
-
Field Summary
Fields Modifier and Type Field Description private longvalue
-
Constructor Summary
Constructors Constructor Description MultiByteInteger(long value)MultiByteInteger(long value, int length)
-
Method Summary
Modifier and Type Method Description longgetValue()Returns the value of this MBI. intgetEncodedLength()Returns the number of bytes read when decoding this MBI. -
-
Method Detail
-
getValue
long getValue()
Returns the value of this MBI.
-
getEncodedLength
int getEncodedLength()
Returns the number of bytes read when decoding this MBI.
-
-
-
-