|
| RLP () |
| Construct a null node.
|
|
| RLP (bytesConstRef _d, Strictness _s=VeryStrict) |
| Construct a node of value given in the bytes.
|
|
| RLP (bytes const &_d, Strictness _s=VeryStrict) |
| Construct a node of value given in the bytes.
|
|
| RLP (::byte const *_b, unsigned _s, Strictness _st=VeryStrict) |
| Construct a node to read RLP data in the bytes given.
|
|
| RLP (std::string const &_s, Strictness _st=VeryStrict) |
| Construct a node to read RLP data in the string.
|
|
bytesConstRef | data () const |
| The bare data of the RLP.
|
|
bool | isNull () const |
| No value.
|
|
bool | isEmpty () const |
| Contains a zero-length string or zero-length list.
|
|
bool | isData () const |
| String value.
|
|
bool | isList () const |
| List value.
|
|
bool | isInt () const |
| Integer value. Must not have a leading zero.
|
|
size_t | itemCount () const |
|
size_t | itemCountStrict () const |
|
size_t | size () const |
|
size_t | sizeStrict () const |
|
bool | operator== (char const *_s) const |
| Equality operators; does best-effort conversion and checks for equality.
|
|
bool | operator!= (char const *_s) const |
|
bool | operator== (std::string const &_s) const |
|
bool | operator!= (std::string const &_s) const |
|
template<unsigned _N> |
bool | operator== (FixedHash< _N > const &_h) const |
|
template<unsigned _N> |
bool | operator!= (FixedHash< _N > const &_s) const |
|
bool | operator== (unsigned const &_i) const |
|
bool | operator!= (unsigned const &_i) const |
|
bool | operator== (u256 const &_i) const |
|
bool | operator!= (u256 const &_i) const |
|
bool | operator== (bigint const &_i) const |
|
bool | operator!= (bigint const &_i) const |
|
RLP | operator[] (size_t _i) const |
|
iterator | begin () const |
| Iterator into beginning of sub-item list (valid only if we are a list).
|
|
iterator | end () const |
| Iterator into end of sub-item list (valid only if we are a list).
|
|
template<class T > |
T | convert (int _flags) const |
|
| operator std::string () const |
| Best-effort conversion operators.
|
|
| operator bytes () const |
|
| operator uint8_t () const |
|
| operator uint16_t () const |
|
| operator uint32_t () const |
|
| operator uint64_t () const |
|
| operator u160 () const |
|
| operator u256 () const |
|
| operator bigint () const |
|
template<unsigned N> |
| operator FixedHash< N > () const |
|
template<class T , class U > |
| operator std::pair< T, U > () const |
|
template<class T > |
| operator std::vector< T > () const |
|
template<class T > |
| operator std::set< T > () const |
|
template<class T , size_t N> |
| operator std::array< T, N > () const |
|
bytes | toBytes (int _flags=LaissezFaire) const |
| Converts to bytearray.
|
|
bytesConstRef | toBytesConstRef (int _flags=LaissezFaire) const |
| Converts to bytearray.
|
|
std::string | toString (int _flags=LaissezFaire) const |
| Converts to string.
|
|
std::string | toStringStrict () const |
| Converts to string.
|
|
template<class T > |
std::vector< T > | toVector (int _flags=LaissezFaire) const |
|
template<class T > |
std::set< T > | toSet (int _flags=LaissezFaire) const |
|
template<class T > |
std::unordered_set< T > | toUnorderedSet (int _flags=LaissezFaire) const |
|
template<class T , class U > |
std::pair< T, U > | toPair (int _flags=Strict) const |
|
template<class T , size_t N> |
std::array< T, N > | toArray (int _flags=LaissezFaire) const |
|
template<class _T = unsigned> |
std::enable_if_t< is_integer< _T >(Signedness::any), _T > | toInt (int _flags=Strict) const |
|
int64_t | toPositiveInt64 (int _flags=Strict) const |
|
template<class _N > |
_N | toHash (int _flags=Strict) const |
|
bytesConstRef | payload () const |
|
size_t | actualSize () const |
|
Class for interpreting Recursive Linear-Prefix Data.