32 #ifndef LEDGER_CORE_RLPDECODER_H 33 #define LEDGER_CORE_RLPDECODER_H 38 #include "../../utils/Exception.hpp" 39 #include "RLPEncoder.h" 48 using rlp_tuple = std::tuple<int, int, RLP_TYPES>;
52 static std::shared_ptr<RLPEncoder> decode(
const std::vector<uint8_t> &data,
53 std::shared_ptr<RLPEncoder> &parent);
54 static std::shared_ptr<RLPEncoder> decode(
const std::vector<uint8_t> &data);
55 static rlp_tuple decodeLength(
const std::vector<uint8_t> &data);
56 static uint32_t toInteger(std::vector<uint8_t> &data);
61 #endif //LEDGER_CORE_RLPDECODER_H Definition: RLPDecoder.h:50
Definition: Account.cpp:8