Skip to content

Move NSData to ByteString conversion onto ByteString companion #1131

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 25, 2022

Conversation

JakeWharton
Copy link
Collaborator

This is a convenience for Objeective-C/Swift callers such that when a ByteString is exposed in your header you are also given this (and any future) conversion functions as automatically available.

Because SegmentedByteString relies on ByteString's internal constructor which is only avaialble in the actuals it must be duplicated in the two source sets.

Closes #1113

This is a convenience for Objeective-C/Swift callers such that when a ByteString is exposed in your header you are also given this (and any future) conversion functions as automatically available.

Because SegmentedByteString relies on ByteString's internal constructor which is only avaialble in the actuals it must be duplicated in the two source sets.
@JakeWharton JakeWharton requested a review from swankjesse July 11, 2022 22:37
@@ -1,39 +1,221 @@
/*
* Copyright (C) 2020 Square, Inc.
* Copyright (C) 2018 Square, Inc.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

This old file was deleted, the other file moved here with the same name, and the extension hand written at the bottom. It is not actually changed but git thinks it's being smart.

@JakeWharton JakeWharton merged commit 87957c5 into master Jul 25, 2022
@JakeWharton JakeWharton deleted the jw/red-delicious/2022-07-11 branch July 25, 2022 16:12
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.

ByteString exposed to Objective-C / Swift cannot see NSData helper
3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy