@Override
    public void writeByte(int b) {
      data.put((byte) b);
    }
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