Class Compressor

    • Constructor Detail

      • Compressor

        protected Compressor()
        Sole constructor, typically called from sub-classes.
    • Method Detail

      • compress

        public abstract void compress​(byte[] bytes,
                                      int off,
                                      int len,
                                      DataOutput out)
                               throws IOException
        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.
        Throws:
        IOException