code: public static final int getShort(InputStream is) throws IOException
     {
        byte[] data = new byte[2];
        is.read(data);
        return getShort(data, 0);
     }
docs: Read a short int from an input stream.
  
  @param is input stream
  @return int value