Ethereum  PoC-8
The C++ Implementation of Ethereum
RLP.h File Reference
#include "Exceptions.h"
#include "FixedHash.h"
#include "vector_ref.h"
#include <array>
#include <exception>
#include <iomanip>
#include <iosfwd>
#include <vector>

Go to the source code of this file.

Classes

struct  dev::intTraits< _T >
 
struct  dev::intTraits< u160 >
 
struct  dev::intTraits< u256 >
 
struct  dev::intTraits< bigint >
 
struct  dev::Converter< T >
 
class  dev::RLP
 
class  dev::RLP::iterator
 Iterator class for iterating through items of RLP list. More...
 
struct  dev::Converter< std::string >
 
struct  dev::Converter< bytes >
 
struct  dev::Converter< uint8_t >
 
struct  dev::Converter< uint16_t >
 
struct  dev::Converter< uint32_t >
 
struct  dev::Converter< uint64_t >
 
struct  dev::Converter< u160 >
 
struct  dev::Converter< u256 >
 
struct  dev::Converter< bigint >
 
struct  dev::Converter< FixedHash< N > >
 
struct  dev::Converter< std::pair< T, U > >
 
struct  dev::Converter< std::vector< T > >
 
struct  dev::Converter< std::set< T > >
 
struct  dev::Converter< std::unordered_set< T > >
 
struct  dev::Converter< std::array< T, N > >
 
class  dev::RLPStream
 Class for writing to an RLP bytestream. More...
 

Namespaces

 dev
 

Functions

template<class _T >
void dev::rlpListAux (RLPStream &_out, _T _t)
 
template<class _T , class ... _Ts>
void dev::rlpListAux (RLPStream &_out, _T _t, _Ts ... _ts)
 
template<class _T >
bytes dev::rlp (_T _t)
 Export a single item in RLP format, returning a byte array. More...
 
bytes dev::rlpList ()
 Export a list of items in RLP format, returning a byte array. More...
 
template<class ... _Ts>
bytes dev::rlpList (_Ts ... _ts)
 
std::ostream & dev::operator<< (std::ostream &_out, dev::RLP const &_d)
 Human readable version of RLP. More...
 

Variables

bytes dev::RLPNull = rlp("")
 The empty string in RLP format. More...
 
bytes dev::RLPEmptyList = rlpList()
 The empty list in RLP format. More...
 

Detailed Description

Recursive Linear-Prefix serialization / deserialization.

Definition in file RLP.h.