public void writeUnsignedShort(int i) {
      short s = (short) i;
      if (i != (s & 0xffff)) {
        throw new IllegalArgumentException("Expected an unsigned short: " + i);
      }
      writeShort(s);
    }
Writes 0x00 until the position is aligned to a multiple of 4.
android/android_framework/dex-maker/src/main/java/com/android/dex/Dex.java