Interface Encoding.Serializer<T>
- Enclosing interface:
Encoding
public static interface Encoding.Serializer<T>
-
Method Summary
Modifier and TypeMethodDescriptionvoidserialize(T value, OutputStream output) Serializes the given object and writes the serialized representation to the given output stream.
-
Method Details
-
serialize
Serializes the given object and writes the serialized representation to the given output stream. Implementations must not close the stream. Inputs must never be null.- Throws:
IOException
-