Thanks to visit codestin.com
Credit goes to lib.rs

1 unstable release

0.1.0 Nov 9, 2024

#2576 in Encoding

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

665 downloads per month

MIT/Apache

21KB
509 lines

Recursive Length Prefix serialization crate.

Allows decoding, and view onto rlp-slice

What should you use when?

Use decode function when:

  • You want to decode something inline.
  • You do not work on big set of data.
  • You want to decode whole rlp at once.

Use Rlp when:

  • You need to handle data corruption errors.
  • You are working on input data.
  • You want to get view onto rlp-slice.
  • You don't want to decode whole rlp at once.

RLP-decoder

Recursive-length-prefix decoding in Rust.

This project is forked from parity rlp library, and removed all the encoding functions. To be used in embedded systems.

The original parity rlp library heavily relies on Bytes crate, which can not work on chipsets (eg nanox) do not support CAS operations.

Dependencies

~11KB