Base64 encoding and decoding.
// Encode binary data (Data) let data: Data = [104, 101, 108, 108, 111] let encoded = Base64.encode(data) // Encode string (DataConvertible) let encoded = Base64.encode("hello") // Decode string let decoded = Base64.decode("aGVsbG8=")
import PackageDescription let package = Package( dependencies: [ .Package(url: "https://github.com/Zewo/Base64.git", majorVersion: 0, minor: 7) ] )
If you need any help you can join our Slack and go to the #help channel. Or you can create a Github issue in our main repository. When stating your issue be sure to add enough details, specify what module is causing the problem and reproduction steps.
The entire Zewo code base is licensed under MIT. By contributing to Zewo you are contributing to an open and engaged community of brilliant Swift programmers. Join us on Slack to get to know us!
This project is released under the MIT license. See LICENSE for details.