Uniswap Sniper Bot  1.0
Classes | Namespaces | Functions
rlp.hpp File Reference
#include <cstdint>
#include <cstring>
#include <string>
#include "utils.hpp"

Go to the source code of this file.

Classes

struct  RLP::Item
 Struct holding single item data - its byte representation and length. More...
 

Namespaces

 RLP
 Functions for Recursive Length Prefix Encoding. It is the main encoding method used to serialize objects in Ethereum.
 

Functions

std::size_t RLP::encodeLength (std::size_t length, std::size_t offset, Buffer output)
 Encodes length. More...
 
std::size_t RLP::encodeItem (Item *input, Buffer output)
 Encodes single item. More...
 
std::size_t RLP::encodeList (Item input[], std::size_t inputLength, Buffer output)
 Encodes list of items. More...