T
- The type of the custom object that this Encoder can encoder to a ByteBuffer.public static interface Encoder.Binary<T> extends Encoder
Encoder.Binary<T>, Encoder.BinaryStream<T>, Encoder.Text<T>, Encoder.TextStream<T>
ByteBuffer encode(T object) throws EncodeException
object
- the object being encoded.EncodeException
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.