httpcore5-h2/src/main/java/org/apache/hc/core5/http2/hpack/HuffmanEncoder.java [55:71]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            final int code = codes[b];
            final int nbits = lengths[b];

            current <<= nbits;
            current |= code;
            n += nbits;

            while (n >= 8) {
                n -= 8;
                out.append((int)(current >> n));
            }
        }

        if (n > 0) {
            current <<= (8 - n);
            current |= (0xFF >>> n); // this should be EOS symbol
            out.append((int) current);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



httpcore5-h2/src/main/java/org/apache/hc/core5/http2/hpack/HuffmanEncoder.java [82:98]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
            final int code = codes[b];
            final int nbits = lengths[b];

            current <<= nbits;
            current |= code;
            n += nbits;

            while (n >= 8) {
                n -= 8;
                out.append((int)(current >> n));
            }
        }

        if (n > 0) {
            current <<= (8 - n);
            current |= (0xFF >>> n); // this should be EOS symbol
            out.append((int) current);
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



