mirror of
https://github.com/claunia/plist-cil.git
synced 2026-02-04 05:34:41 +00:00
[PR #51] BinaryPropertyListParser/Writer: Add extensibility points #81
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/claunia/plist-cil/pull/51
State: closed
Merged: Yes
I've spent some time today figuring out why the
BinaryPropertyListWriterwas generating slightly different data from what I expected.To figure that out, did some debugging tricks like:
EqualityComparers which are passed to theBinaryPropertyListWriterAssignIDBinaryPropertyListParserto get the index, offset and summary of all values in the binary property list,In the end, my life would be easier if:
BinaryPropertyListParserandBinaryPropertyListWriterand override methods likeDoParse.BinaryPropertyListWriterwhen it's being created.This PR makes some of the methods protected and adds a new constructor, just enough so that I can actually do that.
Hopefully this is OK with you.