ledger-core
Public Member Functions | Static Public Member Functions | List of all members
ledger::core::RLPEncoder Class Referenceabstract
+ Inheritance diagram for ledger::core::RLPEncoder:
+ Collaboration diagram for ledger::core::RLPEncoder:

Public Member Functions

virtual std::vector< uint8_t > encode ()=0
 
virtual void append (const std::string &str)=0
 
virtual void append (const std::vector< uint8_t > &data)=0
 
virtual void append (const std::shared_ptr< RLPEncoder > &child)=0
 
virtual std::string toString ()=0
 
virtual bool isList ()=0
 
virtual std::vector< std::shared_ptr< RLPEncoder > > getChildren ()=0
 

Static Public Member Functions

static std::vector< uint8_t > encodeLength (uint32_t length, uint8_t offset, BytesWriter &out)
 
static void toBinary (uint32_t length, std::vector< uint8_t > &out)
 

The documentation for this class was generated from the following files: