public void flushCache() {
        cacheBitsRemaining = 0;
    }
Input stream that allows reading up to 32 bits across byte boundaries in most significant bit first order.
src/main/java/org/apache/commons/imaging/formats/tiff/itu_t4/BitInputStreamFlexible.java