code: public void putInt(int pos, int i) {
  		adaptSize(pos + 4);
  		ByteBuffer bb = getBuffer(pos);
  		int index = pos % _bufferSize;
  		if (bb.limit() - index >= 4) {
  			bb.putInt(index, i);
  		} else {
  			byte b0 = (byte)i;
  			byte b1 = (byte)(i >> 8);
  			byte b2 = (byte)(i >> 16);
  			byte b3 = (byte)(i >> 24);
  			
  			if (_order == ByteOrder.BIG_ENDIAN) {
  				putBytes(pos, b3, b2, b1, b0);
  			} else {
  				putBytes(pos, b0, b1, b2, b3);
  			}
  		}
  	}
docs: Puts a 32-bit integer into the buffer at the given position. Does
  not increase the write position.
  @param pos the position where to put the integer
  @param i the integer to put