public ByteArrayAnnotatedOutput writeTo(Storage storage) {
    return toDex0(false, false, storage);
  }
Writes the contents of this instance as a binary.

@param storage temporary storage for storing dexing.
@return the stored content.
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/file/DexFile.java