fillBits = 1;
return 1;
}
}
if( next12Bits != 1 )
throw new PdfException(( "EOL error1" ) );
}else if( fillBits == 1 ){
int bitsLeft = bitReached & 7;
int rr=get1DBits( bitsLeft );
bitReached=bitReached+bitsLeft;
if( rr != 0 )
throw new PdfException(( "EOL error2" ) );
if( bitsLeft < 4 ){
int rr2=get1DBits( 8 );
bitReached=bitReached+8;
if( rr2 != 0 )
throw new PdfException("EOL error3");
}
int n= get1DBits( 8 );
bitReached=bitReached+8;
while( n != 1 ){
// If not all zeros
if( n != 0 )
throw new PdfException("EOL error4");
n = get1DBits( 8 );
bitReached=bitReached+8;
}
}