Deserializer
| Modifier and Type | Method and Description |
|---|---|
| public void | serialize(T
the object to serialize object, OutputStream the output stream outputStream)Write an object of type T to the given OutputStream. |
| public default byte[] | Returns: the resulting byte arraythe object to serialize object)Turn an object of type T into a serialized byte array. |
| serialize | back to summary |
|---|---|
| public void serialize(T object, OutputStream outputStream) throws IOException Write an object of type T to the given OutputStream. Note Implementations should not close the given OutputStream (or any decorators of that OutputStream) but rather leave this up to the caller.
| |
| serializeToByteArray | back to summary |
|---|---|
| public default byte[] serializeToByteArray(T object) throws IOException Turn an object of type T into a serialized byte array.
| |