- if (currentBit != 0) {
- readableByte = readableByte | 1;
- }
-
- currentBytePointer--;
- }
- return readableByte;
- }
-
- public int readIntegerCompressed8() throws IOException {
- if (readBits(1) == 0) {
- return readBits(8);
- } else {
- return readBits(32);
- }
- }