Skip to content

Add .blob data strategy to keep Data as is - #58

Merged
almazrafi merged 1 commit into
almazrafi:mainfrom
letko-dmitry:feature/blob-data-strategy
Oct 2, 2026
Merged

almazrafi merged 1 commit into
almazrafi:mainfrom
letko-dmitry:feature/blob-data-strategy

Conversation

@letko-dmitry

Copy link
Copy Markdown
Contributor

Adds a .blob data strategy that keeps Data as is in the dictionary.
The existing ones can't: .base64 makes a string, .deferredToData a byte array and .custom can't write Data at all. Really useful with WCSession which takes Data directly and has a payload size limit.

@almazrafi almazrafi left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, thanks a lot for your contribution! 🙌

@almazrafi
almazrafi merged commit abed93a into almazrafi:main Oct 2, 2026
2 of 3 checks passed
@letko-dmitry
letko-dmitry deleted the feature/blob-data-strategy branch October 5, 2026 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants