Closed matthiasclasen closed 1 year ago
When the buffer is too small, glyphy_arc_list_encode_blob2 returns false. In order for the caller to handle the failure, we need to return the size that would be needed, so set output_len even in the failure case.
When the buffer is too small, glyphy_arc_list_encode_blob2 returns false. In order for the caller to handle the failure, we need to return the size that would be needed, so set output_len even in the failure case.