Skip to content

Instantly share code, notes, and snippets.

@tcw165
Last active November 4, 2018 06:17
Show Gist options
  • Select an option

  • Save tcw165/e851c28b7fe6d58646b6a942dd48e66a to your computer and use it in GitHub Desktop.

Select an option

Save tcw165/e851c28b7fe6d58646b6a942dd48e66a to your computer and use it in GitHub Desktop.
public final class CanvasExtensionsKt {
public static final void runSafely(android.graphics.Canvas, kotlin.jvm.functions.Function1<? super android.graphics.Canvas, kotlin.Unit>);
Code:
// Some byte-code is hidden
13: invokevirtual #23 // Method android/graphics/Canvas.save:()I
16: istore_2
17: aload_1
18: aload_0
19: invokeinterface #29, 2 // InterfaceMethod kotlin/jvm/functions/Function1.invoke:(Ljava/lang/Object;)Ljava/lang/Object;
24: pop
25: aload_0
26: iload_2
27: invokevirtual #33 // Method android/graphics/Canvas.restoreToCount:(I)V
30: return
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment