public void writeTypeList(TypeList typeList) {
      short[] types = typeList.getTypes();
      writeInt(types.length);
      for (short type : types) {
        writeShort(type);
      }
      alignToFourBytesWithZeroFill();
    }
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