public int readInt() throws IOException {
  int v=dataInput.readInt();
  offset+=4;
  available-=4;
  return v;
}

public int readInt ( ) throws IOException { int v = dataInput . readInt ( ) ; offset += 4 ; available -= 4 ; return v ; }
read a single integer .
