RLPSwift alternatives and similar libraries
Based on the "Other Parsing" category.
Alternatively, view RLPSwift alternatives based on common mentions on social networks and blogs.
-
Erik
Erik is an headless browser based on WebKit. An headless browser allow to run functional tests, to access and manipulate webpages using javascript. -
AcknowledgementsPlist
AcknowledgementsPlist manages the licenses of libraries that depend on your iOS app.
SaaSHub - Software Alternatives and Reviews
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of RLPSwift or a related project?
README
RLPSwift
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:
- Ethereum Wiki - RLP
- Ethereum Yellowpaper (Appendix B)
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](LICENSE) for more information.
*Note that all licence references and agreements mentioned in the RLPSwift README section above
are relevant to that project's source code only.