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
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(LZ77Compressor.Block)
immediately as it will get overwritten sooner or later.
- Since:
- 1.14
-
Nested Class Summary
Nested classes/interfaces inherited from class LZ77Compressor.Block
LZ77Compressor.Block.BlockType -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
LiteralBlock
-
-
Method Details
-
getData
The literal data.This returns a life view of the actual data in order to avoid copying, modify the array at your own risk.
- Returns:
- the data
-
getLength
-
getOffset
-
getType
- Specified by:
getTypein classLZ77Compressor.Block
-
toString
-