docs: public static final void writeInt(int value, byte[] array, int offset)
      {
          if (array.length < offset + 4)
          {
              throw new IllegalArgumentException("no room in array");
          }
          array[offset] = (byte) (value >> 24);
          array[offset + 1] = (byte) ((value >> 16) & 0xff);
          array[offset + 2] = (byte) ((value >> 8) & 0xff);
          array[offset + 3] = (byte) (value & 0xff);
      }