bits = (entry >>> 1) & 0x07; // 3 bits 0000 0111
code = (entry >>> 4) & 0x0fff; // 12 bits
runLength += code;
updatePointer(4 - bits);
} else if (bits == 0) { // ERROR
throw new InvalidImageException(MessageLocalization.getComposedMessage("invalid.code.encountered"));
} else if (bits == 15) { // EOL
if ( runLength == 0 ) {
isWhite = false;
} else {
throw new RuntimeException(MessageLocalization.getComposedMessage("eol.code.word.encountered.in.white.run"));