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 in concert with makeFromBytes; the format used for Path in memory is not guaranteed.
Return
serialized Path; length always a multiple of 4