Skip to content

Latest commit

 

History

History
61 lines (25 loc) · 1.27 KB

rlp.md

File metadata and controls

61 lines (25 loc) · 1.27 KB

Module 0x2::rlp

Utility for converting a Move value to its binary representation in RLP(Recursive Length Prefix) https://ethereum.org/nl/developers/docs/data-structures-and-encoding/rlp/

Constants

Function to_bytes

public fun to_bytes<MoveValue>(value: &MoveValue): vector<u8>

Function from_bytes

#[data_struct(#[MoveValue])]
public fun from_bytes<MoveValue>(bytes: vector<u8>): MoveValue