code: public int readInt(final JBBPByteOrder byteOrder) throws IOException {
      if (byteOrder == JBBPByteOrder.BIG_ENDIAN) {
        return (readUnsignedShort(byteOrder) << 16) | readUnsignedShort(byteOrder);
      } else {
        return readUnsignedShort(byteOrder) | (readUnsignedShort(byteOrder) << 16);
      }
    }
docs: Read an integer value from the stream.
  
  @param byteOrder the order of bytes to be used to decode the read value
  @return the integer value from the stream
  @throws IOException  it will be thrown for any transport problem during the
  operation
  @throws EOFException if the end of the stream has been reached
  @see JBBPByteOrder#BIG_ENDIAN
  @see JBBPByteOrder#LITTLE_ENDIAN