T
- the type of the object this encoder can encode.public static interface Encoder.BinaryStream<T> extends Encoder
Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>
Modifier and Type | Method and Description |
---|---|
void |
encode(T object,
OutputStream os)
Encode the given object into a binary stream written to the implementation provided OutputStream.
|
void encode(T object, OutputStream os) throws EncodeException, IOException
object
- the object being encoded.os
- the output stream where the encoded data is written.EncodeException
- The provided object could not be encoded to an output streamIOException
- If an error occurred writing to the output streamCopyright © 2018,2020 Eclipse Foundation.
Use is subject to license terms.