package rlp

  1. Overview
  2. Docs
RLP: Recursive Length Prefix Encoding

Install

Dune Dependency

Authors

Maintainers

Sources

0.1.tar.gz
sha256=5e5131d7b00d67e62dfbc6f0d76648f32dca42e1fbbfd2572094cedb45932ccb
md5=4b1b75a8cc60fd2e742c36107e3fa41c

Description

RLP(*1) is a way to encode multi-way trees as byte strings. This library provides an encode and a decode function. A tree's node can be a byte string or a node with arbitrarily many child nodes. A node can also have zero nodes. Equivalently, this library can serialize s-expressions whose atoms are byte string literals.

RLP is heavily used in the Ethereum protocol(*2), but might be useful elsewhere as well.

*1: https://github.com/ethereum/wiki/wiki/RLP *2: https://ethereum.org/

Published: 07 Sep 2017

Dev Dependencies

None

Used by

None

Conflicts

None

OCaml

Innovation. Community. Security.