Class LZ77Compressor.LiteralBlock

    • Constructor Detail

      • LiteralBlock

        public LiteralBlock​(byte[] data,
                            int offset,
                            int length)
        Constructs a new instance.
        Parameters:
        data - the literal data.
        offset - the length of literal block.
        length - the length of literal block.
    • Method Detail

      • getData

        public byte[] getData()
        Gets the literal data.

        This returns a live view of the actual data in order to avoid copying, modify the array at your own risk.

        Returns:
        the data