public void writeStringData(String value) {
      try {
        int length = value.length();
        writeUleb128(length);
        write(Mutf8.encode(value));
        writeByte(0);
      } catch (UTFDataFormatException e) {
        throw new AssertionError();
      }
    }
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