Interface Encoder<T>

    • Method Detail

      • encode

        void encode​(T source,
                    ByteBufferDestination destination)
        Encodes the specified source object to some binary representation and writes the result to the specified destination.
        Parameters:
        source - the object to encode.
        destination - holds the ByteBuffer to write into.