20 #ifndef RIPPLE_NODESTORE_DECODEDBLOB_H_INCLUDED
21 #define RIPPLE_NODESTORE_DECODEDBLOB_H_INCLUDED
23 #include <ripple/nodestore/NodeObject.h>
42 DecodedBlob(
void const* key,
void const* value,
int valueBytes);
bool wasOk() const noexcept
Determine if the decoding was successful.
Parsed key/value blob into NodeObject components.
NodeObjectType
The types of node objects.
unsigned char const * m_objectData
std::shared_ptr< NodeObject > createObject()
Create a NodeObject from this data.
NodeObjectType m_objectType
DecodedBlob(void const *key, void const *value, int valueBytes)
Construct the decoded blob from raw data.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.