MCPcopy Create free account
hub / github.com/JetBrains/skija / makeFromFileName

Method makeFromFileName

shared/java/Data.java:64–67  ·  view source on GitHub ↗

Create a new dataref the file with the specified path. If the file cannot be opened, this returns null.

(String path)

Source from the content-addressed store, hash-verified

62 * If the file cannot be opened, this returns null.
63 */
64 public static Data makeFromFileName(String path) {
65 Stats.onNativeCall();
66 return new Data(_nMakeFromFileName(path));
67 }
68
69 /**
70 * Create a new dataref using a subset of the data in the specified

Callers 4

executeMethod · 0.95
executeMethod · 0.95
drawMethod · 0.95
CodecSceneMethod · 0.95

Calls 2

onNativeCallMethod · 0.95
_nMakeFromFileNameMethod · 0.95

Tested by 2

executeMethod · 0.76
executeMethod · 0.76