class MessageBuffer extends Object
Copyright (c) 2013-2017 Delft University of Technology, PO Box 5, 2600 AA, Delft, the Netherlands. All rights reserved.
BSD-style license. See Sim0MQ License.
Constructor and Description |
---|
MessageBuffer(byte[] message)
Create a message buffer for decoding.
|
Modifier and Type | Method and Description |
---|---|
boolean |
getBoolean() |
byte |
getByte() |
char |
getCharUTF16() |
char |
getCharUTF8() |
double |
getDouble() |
float |
getFloat() |
int |
getInt() |
long |
getLong() |
int |
getPointer() |
short |
getShort() |
String |
getStringUTF16() |
String |
getStringUTF8() |
org.djunits.unit.Unit<? extends org.djunits.unit.Unit<?>> |
getUnit() |
boolean |
hasMore() |
MessageBuffer(byte[] message)
message
- the messagepublic int getPointer()
public boolean hasMore()
public byte getByte()
public short getShort()
public int getInt()
public long getLong()
public float getFloat()
public double getDouble()
public boolean getBoolean()
public char getCharUTF8()
public char getCharUTF16()
public String getStringUTF8()
public String getStringUTF16()
public org.djunits.unit.Unit<? extends org.djunits.unit.Unit<?>> getUnit()
Copyright © 2016–2018 Delft University of Technology. All rights reserved.