Skip to content
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

withUnsafeMutableBytes is now deprecated #9

Open
blackyhn opened this issue Apr 8, 2019 · 1 comment
Open

withUnsafeMutableBytes is now deprecated #9

blackyhn opened this issue Apr 8, 2019 · 1 comment

Comments

@blackyhn
Copy link
Contributor

blackyhn commented Apr 8, 2019

Now in Swift 5 'withUnsafeMutableBytes' is deprecated.

var headerBuffer = [UInt8](repeating: 0, count: kCryptoExportImportManagerASNHeaderLengthForRSA);
headerBuffer[0] = kCryptoExportImportManagerASNHeaderSequenceMark;

@DigitalLeaves
Copy link
Owner

Hello, I have decided not to keep on upgrading Swift projects anymore. I have better things to do with my life than upgrading my 40+ projects every year :). Feel free to do a push request. I will review it and approve it, thanks!

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

No branches or pull requests

2 participants