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