Files
common/packages/util-rlp
Jaco Greeff 80db504a3b Swap to using eslint (#435)
* WIP

* ... and more

* yet more...

* and examples (more-or-less) fixed

* Only problematic promisify left...

* Last batch

* rm config header

* Update

* Use Record

* Bumps
2019-07-14 11:12:46 +02:00
..
2019-07-14 11:12:46 +02:00
2019-07-14 11:12:46 +02:00
2018-06-21 16:26:14 +02:00
2019-07-11 20:03:25 +00:00

@polkadot/util-rlp

Utility methods for encoding and decoding Ethereum RLP structures. This is port adapted from the original EthereumJS RLP implementation to cater for Uint8Array outputs (instead of Buffer) in addition to typings.

Usage

Installation -

yarn add @polkadot/util-rlp

Functions can be imported as follows:

import { decode } from '@polkadot/util-rlp';
import { encode } from '@polkadot/util-rlp';

Utilities

Utilities