parquet-common/src/main/java/org/apache/parquet/bytes/LittleEndianDataInputStream.java
public final int readUnsignedShort() throws IOException {
    int ch2 = in.read();
    int ch1 = in.read();
    if ((ch1 | ch2) < 0)
      throw new EOFException();
    return (ch1 << 8) + (ch2 << 0);
  }
public final int readUnsignedShort() throws IOException {
    int ch2 = in.read();
    int ch1 = in.read();
    if ((ch1 | ch2) < 0)
      throw new EOFException();
    return (ch1 << 8) + (ch2 << 0);
  }
Bytes
for this operation are read from the contained
input stream.

@return     the next two bytes of this input stream, interpreted as an
unsigned 16-bit integer.
@exception  EOFException  if this input stream reaches the end before
reading two bytes.
@exception  IOException   the stream has been closed and the contained
input stream does not support reading after close, or
another I/O error occurs.
@see        java.io.FilterInputStream#in