serializeToBytes

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 []; the format used for Path in memory is not guaranteed.

Return

serialized Path; length always a multiple of 4

See also