Package gg.jte.output

Class Utf8ByteOutput

    • Constructor Detail

      • Utf8ByteOutput

        public Utf8ByteOutput()
        Constructs an output with sane defaults
      • Utf8ByteOutput

        public Utf8ByteOutput​(int chunkSize,
                              int tempBufferSize)
        Constructs an output with custom settings. This output maintains a list of binary chunks. Pre-encoded data is passed as is, while internal buffers are created for dynamic data as needed.
        Parameters:
        chunkSize - The size in bytes for chunks of dynamic data.
        tempBufferSize - The size for the temporary buffer used for intermediate String encoding.