Decoder.Binary<T>, Decoder.BinaryStream<T>, Decoder.Text<T>, Decoder.TextStream<T>
Modifier and Type | Method and Description |
---|---|
T |
decode(java.io.InputStream is)
Decode the given bytes read from the input stream into an object of type T.
|
T decode(java.io.InputStream is) throws DecodeException, java.io.IOException
is
- the input stream carrying the bytes.DecodeException
- If the provided input stream cannot be decoded to type Tjava.io.IOException
- If an error occurs reading the input stream