public class ByteBufferDecoder extends AbstractDecoder implements Decoder.Binary<ByteBuffer>
Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>| Modifier and Type | Field and Description |
|---|---|
static ByteBufferDecoder |
INSTANCE |
| Constructor and Description |
|---|
ByteBufferDecoder() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
decode(ByteBuffer bytes) |
boolean |
willDecode(ByteBuffer bytes) |
destroy, initpublic static final ByteBufferDecoder INSTANCE
public ByteBuffer decode(ByteBuffer bytes) throws DecodeException
decode in interface Decoder.Binary<ByteBuffer>DecodeExceptionpublic boolean willDecode(ByteBuffer bytes)
willDecode in interface Decoder.Binary<ByteBuffer>Copyright © 1995-2015 Webtide. All Rights Reserved.