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

Method serializeToBytes

shared/java/Path.java:1862–1869  ·  view source on GitHub ↗

Writes Path to byte buffer. Writes PathFillMode, verb array, Point array, conic weight, and additionally writes computed information like path convexity and bounds. Use only be used in concert with makeFromBytes(byte[]); the format used for Path in memory is not gu

()

Source from the content-addressed store, hash-verified

1860 * @see <a href="https://fiddle.skia.org/c/@Path_writeToMemory">https://fiddle.skia.org/c/@Path_writeToMemory</a>
1861 */
1862 public byte[] serializeToBytes() {
1863 try {
1864 Stats.onNativeCall();
1865 return _nSerializeToBytes(_ptr);
1866 } finally {
1867 Reference.reachabilityFence(this);
1868 }
1869 }
1870
1871 /**
1872 * <p>Returns Path that is the result of applying the Op to the first path and the second path.

Callers 1

serializeMethod · 0.80

Calls 2

onNativeCallMethod · 0.95
_nSerializeToBytesMethod · 0.95

Tested by 1

serializeMethod · 0.64