Fabcoin Core  0.16.2
P2P Digital Currency
Classes | Namespaces | Typedefs | Functions | Variables
RLP.h File Reference
#include <vector>
#include <array>
#include <exception>
#include <iostream>
#include <iomanip>
#include "vector_ref.h"
#include "Common.h"
#include "Exceptions.h"
#include "FixedHash.h"
Include dependency graph for RLP.h:
This graph shows which files directly or indirectly include this file:

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 for interpreting Recursive Linear-Prefix Data. More...
 
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< RLPs >
 
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
 Adapted from code found on http://stackoverflow.com/questions/180947/base64-decode-snippet-in-c Originally by RenĂ© Nyffenegger.
 

Typedefs

using dev::RLPs = std::vector< RLP >
 

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

Author
Gav Wood i@gav.nosp@m.wood.nosp@m..com
Date
2014

RLP (de-)serialisation.

Definition in file RLP.h.