Decoder.Binary<T>, Decoder.Text<T>| Modifier and Type | Method and Description |
|---|---|
T |
decode(byte[] bytes)
Decode the given bytes into an object of type T.
|
boolean |
willDecode(byte[] bytes)
Answer whether the given bytes can be decoded into an object of type T.
|
T decode(byte[] bytes) throws DecodeException
DecodeExceptionboolean willDecode(byte[] bytes)
Copyright © 2012 Oracle and/or its affiliates. All rights reserved.