code: public void putInt(int val) throws IOException {
      if (byteOrder == ByteOrder.BIG_ENDIAN) {
        writeIntCurrentPosition((val >>> 24) & 0xFF);
        writeIntCurrentPosition((val >>> 16) & 0xFF);
        writeIntCurrentPosition((val >>> 8) & 0xFF);
        writeIntCurrentPosition((val >>> 0) & 0xFF);
      }
      else {
        writeIntCurrentPosition((val >>> 0) & 0xFF);
        writeIntCurrentPosition((val >>> 8) & 0xFF);
        writeIntCurrentPosition((val >>> 16) & 0xFF);
        writeIntCurrentPosition((val >>> 24) & 0xFF);
      }
    }
docs: Puts a int (4 bytes).
  
  @param val the val
  @throws IOException Signals that an I/O exception has occurred.