fun InputStream.readTwoBytesAsInt(): Int
Read the next two bytes from the InputStream, interpret them as a big-endian number (first byte most significant). This number is then returned.
IOException - if only one byte can be read from the InputStream
Return
-1 if no bytes can be read, otherwise the number that