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
()
| 1132 | * @see <a href="https://fiddle.skia.org/c/@Path_writeToMemory">https://fiddle.skia.org/c/@Path_writeToMemory</a> |
| 1133 | */ |
| 1134 | @NotNull @Contract(pure = true) |
| 1135 | public byte[] serializeToBytes() { |
| 1136 | try { |
| 1137 | Stats.onNativeCall(); |
| 1138 | return _nSerializeToBytes(_ptr); |
| 1139 | } finally { |
| 1140 | ReferenceUtil.reachabilityFence(this); |
| 1141 | } |
| 1142 | } |
| 1143 | |
| 1144 | /** |
| 1145 | * <p>Initializes Path from byte buffer. Returns null if the buffer is |