public long readUI32() throws IOException {
  synchBits();
  long ui32=in.read();
  if (ui32 < 0) {
    throw new IOException("Unexpected end of input");
  }
  long val=in.read();
  if (val < 0) {
    throw new IOException("Unexpected end of input");
  }
  ui32+=val << 8;
  val=in.read();
  if (val < 0) {
    throw new IOException("Unexpected end of input");
  }
  ui32+=val << 16;
  val=in.read();
  if (val < 0) {
    throw new IOException("Unexpected end of input");
  }
  ui32+=val << 24;
  bytesRead+=4;
  return ui32;
}

public long readUI32 ( ) throws IOException { synchBits ( ) ; long ui32 = in . read ( ) ; if ( ui32 < 0 ) { throw new IOException ( "Unexpected end of input" ) ; } long val = in . read ( ) ; if ( val < 0 ) { throw new IOException ( "Unexpected end of input" ) ; } ui32 += val << 8 ; val = in . read ( ) ; if ( val < 0 ) { throw new IOException ( "Unexpected end of input" ) ; } ui32 += val << 16 ; val = in . read ( ) ; if ( val < 0 ) { throw new IOException ( "Unexpected end of input" ) ; } ui32 += val << 24 ; bytesRead += 4 ; return ui32 ; }
read an unsigned 32 bit value
