public class BinaryDecoderNoOp extends Object implements Decoder.Binary
Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>| Constructor and Description |
|---|
BinaryDecoderNoOp() |
| Modifier and Type | Method and Description |
|---|---|
ByteBuffer |
decode(ByteBuffer bytes)
Decode the given bytes into an object of type T.
|
boolean |
willDecode(ByteBuffer bytes)
Answer whether the given bytes can be decoded into an object of type T.
|
public ByteBuffer decode(ByteBuffer bytes) throws DecodeException
Decoder.Binarydecode in interface Decoder.Binarybytes - the bytes to be decoded.DecodeExceptionpublic boolean willDecode(ByteBuffer bytes)
Decoder.BinarywillDecode in interface Decoder.BinaryCopyright © 2012. All Rights Reserved.