private static void encodeSize(DexFile file, AnnotatedOutput out, String label, int size) {
    if (out.annotates()) {
      out.annotate(String.format("  %-21s %08x", label + "_size:", size));
    }

    out.writeUleb128(size);
  }
Helper for {@link #encodeOutput}, which writes out the given size value, annotating it as well
(if annotations are enabled).

@param file {@code non-null;} file this instance is part of
@param out {@code non-null;} where to write to
@param label {@code non-null;} the label for the purposes of annotation
@param size {@code >= 0;} the size to write
android/android_framework/dex-maker/src/main/java/com/android/dx/dex/file/ClassDataItem.java