public class OscBlob extends Object implements OscArgument
Constructor and Description |
---|
OscBlob(byte[] data) |
Modifier and Type | Method and Description |
---|---|
int |
getByteLength()
Gets the number of bytes used by this argument uses in its encoded representation.
|
byte[] |
getData() |
char |
getTypeTag()
Returns the type tag used to encode this argument
|
void |
serialize(ByteBuffer buffer)
Serializes this argument to a buffer
|
OscBlob |
setData(byte[] data) |
boolean |
toBoolean() |
double |
toDouble() |
float |
toFloat() |
int |
toInt()
Gets an integer value of this argument
|
String |
toString() |
public byte[] getData()
public OscBlob setData(byte[] data)
public int getByteLength()
OscArgument
getByteLength
in interface OscArgument
public char getTypeTag()
OscArgument
getTypeTag
in interface OscArgument
public void serialize(ByteBuffer buffer)
OscArgument
serialize
in interface OscArgument
buffer
- ByteByffer to write topublic int toInt()
OscArgument
toInt
in interface OscArgument
public float toFloat()
toFloat
in interface OscArgument
public double toDouble()
toDouble
in interface OscArgument
public boolean toBoolean()
toBoolean
in interface OscArgument
LX library by Mark C. Slee. © 2012-2020