All Projects → bitfwdcommunity → RLPSwift

bitfwdcommunity / RLPSwift

Licence: MIT license
Recursive Length Prefix encoding written in Swift

Programming Languages

swift
15916 projects
ruby
36898 projects - #4 most used programming language

Projects that are alternatives of or similar to RLPSwift

morton-nd
A header-only compile-time Morton encoding / decoding library for N dimensions.
Stars: ✭ 78 (+254.55%)
Mutual labels:  encoding
gilfoyle
Distributed video encoding, hosting and streaming (WIP)
Stars: ✭ 73 (+231.82%)
Mutual labels:  encoding
transloadify
🤖☁️📽📦 Transloadit's cloud encoding in a box
Stars: ✭ 26 (+18.18%)
Mutual labels:  encoding
AMVtool
Qt GUI for FFmpeg designed for video editors.
Stars: ✭ 28 (+27.27%)
Mutual labels:  encoding
Notes
My notes are about everything related to programming.
Stars: ✭ 104 (+372.73%)
Mutual labels:  encoding
per-title-analysis
Analysis provider for adapting your OTT bitrate ladder
Stars: ✭ 52 (+136.36%)
Mutual labels:  encoding
fastify-accepts
Add accepts parser to fastify
Stars: ✭ 51 (+131.82%)
Mutual labels:  encoding
d3coder
Chrome extension for encoding/decoding and hashing text on websites
Stars: ✭ 26 (+18.18%)
Mutual labels:  encoding
koa-xml-body
koa middleware to parse xml request body
Stars: ✭ 36 (+63.64%)
Mutual labels:  encoding
BeFoR64
BeFoR64, Base64 encoding/decoding library for FoRtran poor men
Stars: ✭ 17 (-22.73%)
Mutual labels:  encoding
BencodeNET
.NET library for encoding/decoding bencode and reading/writing torrent files
Stars: ✭ 133 (+504.55%)
Mutual labels:  encoding
vorbis aotuv
"aoTuV" is library for encoding and decoding of OggVorbis
Stars: ✭ 35 (+59.09%)
Mutual labels:  encoding
hashids.pm
Hashids, ported for Perl
Stars: ✭ 15 (-31.82%)
Mutual labels:  encoding
EntityEmbedding-Working Example
This repository contains a notebook demonstrating a practical implementation of the so-called Entity Embedding for Encoding Categorical Features for Training a Neural Network.
Stars: ✭ 75 (+240.91%)
Mutual labels:  encoding
ronin-support
A support library for Ronin. Like activesupport, but for hacking!
Stars: ✭ 23 (+4.55%)
Mutual labels:  encoding
gonvert
Golang character encoding converter with an automatic code-estimation.
Stars: ✭ 24 (+9.09%)
Mutual labels:  encoding
haskell-church-encodings
🌀 Church encodings written in Haskell
Stars: ✭ 23 (+4.55%)
Mutual labels:  encoding
ImHex-Patterns
Hex patterns, include patterns and magic files for the use with the ImHex Hex Editor
Stars: ✭ 192 (+772.73%)
Mutual labels:  encoding
go-webp
Simple and fast webp library for golang
Stars: ✭ 91 (+313.64%)
Mutual labels:  encoding
codec
Encode keys, values and range options, with built-in or custom encodings.
Stars: ✭ 27 (+22.73%)
Mutual labels:  encoding

RLPSwift

Swift 5.3 Version Travis CI codecov.io

This is a basic Swift implementation of Recursive Length Prefix Encoding, a serialisation method for encoding arbitrarily structured binary data (byte arrays).

You can read more about it here:

Interface

// Encoding Data
RLP.encode(_ data: Data) -> Data

// Encoding String
RLP.encode(_ string: String, with encoding: String.Encoding = .ascii) throws -> Data

// Encoding nested array of Data
RLP.encode(nestedArrayOfData array: [Any]) throws -> Data

// Encoding nested array of String
RLP.encode(nestedArrayOfString array: [Any], encodeStringsWith encoding: String.Encoding = .ascii) throws -> Data

Installation

Cocoapods

RLPSwift is available through CocoaPods.

To install RLPSwift via cocoapods, add the following line to your Podfile:

pod 'RLPSwift'

Then run pod install.

Swift Package Manager

RLPSwift is available through Swift Package Manager.

Once you have your Swift package set up, adding RLPSwift as a dependency is as easy as adding it to the dependencies value of your Package.swift.

dependencies: [
  .package(url: "https://github.com/bitfwdcommunity/RLPSwift.git", from: "0.0.4")
]

License

RLPSwift is released under an MIT license. See LICENSE for more information.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].