private int readShort(InputStream is) throws IOException {
  int c1=is.read();
  int c2=is.read();
  return ((c1 << 8) | c2);
}

private int readShort ( InputStream is ) throws IOException { int c1 = is . read ( ) ; int c2 = is . read ( ) ; return ( ( c1 << 8 ) | c2 ) ; }
parses a 16 - bit int .
