rlp::RlpDecoder¶
#include <rlp_decoder.hpp>
Public Functions¶
| Name | |
|---|---|
| RlpDecoder(ByteView data) | |
| bool | IsFinished() const |
| ByteView | Remaining() const |
| Result< bool > | IsList() const |
| Result< bool > | IsString() const |
| Result< size_t > | PeekPayloadSizeBytes() const |
| Result< Header > | PeekHeader() const |
| DecodingResult | read(Bytes & out) |
| DecodingResult | read(intx::uint256 & out) |
| template <typename T > auto |
read(T & out) |
| Result< size_t > | ReadListHeaderBytes() |
| DecodingResult | SkipItem() |
| template <typename T > auto |
read(ByteView & data, T & out, Leftover leftover =Leftover::kProhibit) |
| template <typename T > auto |
check_payload(Header & h, ByteView & payload_view, ByteView & view) |
| template <typename T > DecodingResult |
read_vector(std::vector< T > & vec) |
| template <size_t N> DecodingResult |
read(boost::span< uint8_t, N > out_span) |
| template <size_t N> DecodingResult |
read(std::array< uint8_t, N > & out_array) |
| template <size_t N> DecodingResult |
read(uint8_t(&) out_c_array[N]) |
| Result< ByteView > | PeekPayload() const |
| template <typename T > auto |
decode(ByteView & data, Leftover leftover =Leftover::kProhibit) |
Public Functions Documentation¶
function RlpDecoder¶
function IsFinished¶
function Remaining¶
function IsList¶
function IsString¶
function PeekPayloadSizeBytes¶
function PeekHeader¶
function read¶
function read¶
function read¶
function ReadListHeaderBytes¶
function SkipItem¶
function read¶
template <typename T >
inline auto read(
ByteView & data,
T & out,
Leftover leftover =Leftover::kProhibit
)
function check_payload¶
template <typename T >
inline auto check_payload(
Header & h,
ByteView & payload_view,
ByteView & view
)
function read_vector¶
function read¶
function read¶
function read¶
function PeekPayload¶
function decode¶
template <typename T >
static inline auto decode(
ByteView & data,
Leftover leftover =Leftover::kProhibit
)
Updated on 2026-08-06 at 13:59:18 +0000