Interface EncoderFactory<T>

    • Field Detail

      • DUMMY_ENCODER_FACTORY

        static final EncoderFactory DUMMY_ENCODER_FACTORY
        Dummy encoder factory.
    • Method Detail

      • create

        EncoderFactory.Encoder<T> create​(java.io.OutputStream outputStream)
                                  throws java.io.IOException
        Get an encoder instance.
        Parameters:
        outputStream - the stream on which encoded bytes are written
        Returns:
        the encoder instance.
        Throws:
        java.io.IOException - if fail to get the instance.