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>
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
IOException
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.