Serializer
| Modifier and Type | Method and Description |
|---|---|
| public T | Returns: the deserialized objectthe input stream inputStream)Read (assemble) an object of type T from the given InputStream. |
| public default T | Returns: the deserialized objectthe byte array serialized)Read (assemble) an object of type T from the given byte array. |
| deserialize | back to summary |
|---|---|
| public T deserialize(InputStream inputStream) throws IOException Read (assemble) an object of type T from the given InputStream. Note Implementations should not close the given InputStream (or any decorators of that InputStream) but rather leave this up to the caller.
| |
| deserializeFromByteArray | back to summary |
|---|---|
| public default T deserializeFromByteArray(byte[] serialized) throws IOException Read (assemble) an object of type T from the given byte array.
| |