Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vsouza/vsbase64
Pure Swift base64 encode and decode implementation (Linux ready)
https://github.com/vsouza/vsbase64
base64 linux pure-swift swift
Last synced: about 2 months ago
JSON representation
Pure Swift base64 encode and decode implementation (Linux ready)
- Host: GitHub
- URL: https://github.com/vsouza/vsbase64
- Owner: vsouza
- License: mit
- Created: 2017-01-31T14:27:58.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-02-02T12:57:05.000Z (almost 8 years ago)
- Last Synced: 2024-04-13T21:11:27.050Z (9 months ago)
- Topics: base64, linux, pure-swift, swift
- Language: Swift
- Homepage:
- Size: 11.5 MB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# VSBase64 - Swift Base64 (Linux Supported)
> Pure Swift base64 encode and decode implementation[![Swift Version][swift-image]][swift-url]
[![Build Status][travis-image]][travis-url]
[![License][license-image]][license-url]Encode and decode base64 strings with Swift 3.0. It's a implementation to use on
Swift backend projects.## Installation
Add this project on your `Package.swift`
```swift
import PackageDescriptionlet package = Package(
dependencies: [
.Package(url: "https://github.com/vsouza/vsbase64.git", majorVersion: 0, minor: 0)
]
)
```## Usage example
```swift
import VSBase64
let str = "foo"
let encodedStr = VSBase64.encode(str)
print(encodedStr) // "Zm9v"let decoded = VSBase64.decode(encodedStr)
print(decoded) // "foo"
```## Development setup
You need to install Swift 3.0 (or later)
## Release History
* 0.0.2
* CI Integration
* 0.0.1
* Encode and Decode strings## Meta
Vinicius Souza – [@iamvsouza](https://twitter.com/iamvsouza) – [email protected]
Distributed under the XYZ license. See ``LICENSE`` for more information.
[https://github.com/vsouza/vsbase64](https://github.com/vsouza/vsbase64)
[swift-image]:https://img.shields.io/badge/swift-3.0-orange.svg
[swift-url]: https://swift.org/
[license-image]: https://img.shields.io/badge/License-MIT-blue.svg
[license-url]: LICENSE
[travis-image]: https://travis-ci.org/vsouza/VSBase64.svg?branch=master
[travis-url]: https://travis-ci.org/vsouza/VSBase64