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
-
Method Summary
Modifier and TypeMethodDescriptionint
Gets the number of bytes used by this argument uses in its encoded representation.void
serialize
(ByteBuffer buffer) Serializes this argument to a bufferMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:OscArgument
Gets the number of bytes used by this argument uses in its encoded representation.- Specified by:
getByteLength
in interfaceOscArgument
- Returns:
- Number of bytes of data this argument consumes
-
serialize
Description copied from interface:OscArgument
Serializes this argument to a buffer- Specified by:
serialize
in interfaceOscArgument
- Parameters:
buffer
- ByteByffer to write to
-