Package heronarts.lx.osc
Class OscSentinel
java.lang.Object
heronarts.lx.osc.OscSentinel
- All Implemented Interfaces:
OscArgument
- Direct Known Subclasses:
OscBool,OscInfinitum,OscNil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintGets the number of bytes used by this argument uses in its encoded representation.voidserialize(ByteBuffer buffer) Serializes this argument to a bufferMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface heronarts.lx.osc.OscArgument
getTypeTag, toBoolean, toDouble, toFloat, toInt
-
Constructor Details
-
OscSentinel
public OscSentinel()
-
-
Method Details
-
getByteLength
public int getByteLength()Description copied from interface:OscArgumentGets the number of bytes used by this argument uses in its encoded representation.- Specified by:
getByteLengthin interfaceOscArgument- Returns:
- Number of bytes of data this argument consumes
-
serialize
Description copied from interface:OscArgumentSerializes this argument to a buffer- Specified by:
serializein interfaceOscArgument- Parameters:
buffer- ByteByffer to write to
-