Class LZ77Compressor.LiteralBlock

java.lang.Object
org.apache.commons.compress.compressors.lz77support.LZ77Compressor.Block
org.apache.commons.compress.compressors.lz77support.LZ77Compressor.LiteralBlock
Enclosing class:
LZ77Compressor

public static final class LZ77Compressor.LiteralBlock extends LZ77Compressor.Block
Represents a literal block of data.

For performance reasons this encapsulates the real data, not a copy of it. Don't modify the data and process it inside of LZ77Compressor.Callback.accept(org.apache.commons.compress.compressors.lz77support.LZ77Compressor.Block) immediately as it will get overwritten sooner or later.

  • Constructor Details

    • LiteralBlock

      public LiteralBlock(byte[] data, int offset, int length)
  • Method Details