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, init
public static final ByteBufferDecoder INSTANCE
public ByteBuffer decode(ByteBuffer bytes) throws DecodeException
decode
in interface Decoder.Binary<ByteBuffer>
DecodeException
public boolean willDecode(ByteBuffer bytes)
willDecode
in interface Decoder.Binary<ByteBuffer>
Copyright © 1995-2015 Webtide. All Rights Reserved.