public interface ByteDecoder extends Source
ByteEncoder
.Modifier and Type | Method and Description |
---|---|
void |
decode(java.nio.ByteBuffer buffer)
Decode the buffer, and dispatch the corresponding event.
|
boolean |
validate(java.nio.ByteBuffer buffer)
Tells if the buffer contains an event that is ready to be dispatched.
|
addAttributeSink, addElementSink, addSink, clearAttributeSinks, clearElementSinks, clearSinks, removeAttributeSink, removeElementSink, removeSink
void decode(java.nio.ByteBuffer buffer)
buffer
- event as a binary bufferboolean validate(java.nio.ByteBuffer buffer)
buffer
-