Skip to content

Base 64 Encoding with URL and Filename Safe Alphabet Additions for iOS.

License

Notifications You must be signed in to change notification settings

qmihara/QMBase64URLSafe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QMBase64URLSafe

CI Status Version License Platform

Base 64 Encoding with URL and Filename Safe Alphabet Additions for iOS.

see RFC4648.

Usage

NSData Extensions

NSData *data = ...;
NSString *encodedString = [data qm_base64URLSafeEncodedStringWithOptions:0];

NSData *decodedData = [[NSData alloc] qm_initWithBase64URLSafeEncodedString:encodedString options:0];

NSString Extensions

NSString *string = @"...";
NSString *encodedString = [string qm_base64URLSafeEncodedString];

NSString *decodedString = [encodedString qm_base64URLSafeDecodedString];

Requirements

iOS 7.0 or higher, ARC only

Installation

QMBase64URLSafe is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "QMBase64URLSafe"

Author

qmihara (@qmihara)

License

QMBase64URLSafe is available under the MIT license. See the LICENSE file for more info.

About

Base 64 Encoding with URL and Filename Safe Alphabet Additions for iOS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published