Class LZ4WithPresetDictCompressionMode.LZ4WithPresetDictCompressor

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable
    Enclosing class:
    LZ4WithPresetDictCompressionMode

    private static class LZ4WithPresetDictCompressionMode.LZ4WithPresetDictCompressor
    extends Compressor
    • Constructor Detail

      • LZ4WithPresetDictCompressor

        LZ4WithPresetDictCompressor()
    • Method Detail

      • doCompress

        private void doCompress​(byte[] bytes,
                                int dictLen,
                                int len,
                                DataOutput out)
                         throws java.io.IOException
        Throws:
        java.io.IOException
      • compress

        public void compress​(byte[] bytes,
                             int off,
                             int len,
                             DataOutput out)
                      throws java.io.IOException
        Description copied from class: Compressor
        Compress bytes into out. It is the responsibility of the compressor to add all necessary information so that a Decompressor will know when to stop decompressing bytes from the stream.
        Specified by:
        compress in class Compressor
        Throws:
        java.io.IOException
      • close

        public void close()
                   throws java.io.IOException
        Throws:
        java.io.IOException