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

Method makeFromBytes

shared/java/Path.java:1909–1912  ·  view source on GitHub ↗

Initializes Path from byte buffer. Returns null if the buffer is data is inconsistent, or the length is too small. Reads PathFillMode, verb array, Point array, conic weight, and additionally reads computed information like path convexity and bounds. Used only in concert wi

(byte[] data)

Source from the content-addressed store, hash-verified

1907 * @see <a href="https://fiddle.skia.org/c/@Path_readFromMemory">https://fiddle.skia.org/c/@Path_readFromMemory</a>
1908 */
1909 public static Path makeFromBytes(byte[] data) {
1910 Stats.onNativeCall();
1911 return new Path(_nMakeFromBytes(data));
1912 }
1913
1914 /**
1915 * <p>Returns a non-zero, globally unique value. A different value is returned

Callers 2

serializeMethod · 0.95
runMethod · 0.45

Calls 2

onNativeCallMethod · 0.95
_nMakeFromBytesMethod · 0.95

Tested by 1

serializeMethod · 0.76