code: public int readInt()
      throws IOException
    {
      if (_readOffset + 4 < _readLength) {
        return (((_readBuffer[_readOffset++] & 0xff) << 24)
                + ((_readBuffer[_readOffset++] & 0xff) << 16)
                + ((_readBuffer[_readOffset++] & 0xff) << 8)
                + ((_readBuffer[_readOffset++] & 0xff)));
      }
      else {
        return ((read() << 24)
                + (read() << 16)
                + (read() << 8)
                + (read()));
      }
    }
docs: Reads a 4-byte network encoded integer