Class BlockLZ4CompressorOutputStream.Pair

    • Field Detail

      • literals

        private final java.util.Deque<byte[]> literals
      • brOffset

        private int brOffset
      • brLength

        private int brLength
      • written

        private boolean written
    • Constructor Detail

      • Pair

        Pair()
    • Method Detail

      • prependLiteral

        private void prependLiteral​(byte[] data)
      • hasBackReference

        boolean hasBackReference()
      • canBeWritten

        boolean canBeWritten​(int lengthOfBlocksAfterThisPair)
      • length

        int length()
      • hasBeenWritten

        private boolean hasBeenWritten()
      • writeTo

        void writeTo​(java.io.OutputStream out)
              throws java.io.IOException
        Throws:
        java.io.IOException
      • literalLength

        private int literalLength()
      • lengths

        private static int lengths​(int litLength,
                                   int brLength)
      • writeLength

        private static void writeLength​(int length,
                                        java.io.OutputStream out)
                                 throws java.io.IOException
        Throws:
        java.io.IOException
      • backReferenceLength

        private int backReferenceLength()