org.eclipse.paho.client.mqttv3.internal.wire
Class MultiByteInteger
java.lang.Object
org.eclipse.paho.client.mqttv3.internal.wire.MultiByteInteger
public class MultiByteInteger
- extends Object
Represents a Multi-Byte Integer (MBI), as defined by the MQTT V3
specification.
Method Summary |
int |
getEncodedLength()
Returns the number of bytes read when decoding this MBI. |
long |
getValue()
Returns the value of this MBI. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiByteInteger
public MultiByteInteger(long value)
MultiByteInteger
public MultiByteInteger(long value,
int length)
getEncodedLength
public int getEncodedLength()
- Returns the number of bytes read when decoding this MBI.
getValue
public long getValue()
- Returns the value of this MBI.
Copyright © 2013. All Rights Reserved.