1#include <xrpl/basics/safe_cast.h>
2#include <xrpl/beast/utility/instrumentation.h>
3#include <xrpl/nodestore/detail/DecodedBlob.h>
31 unsigned char const*
byte =
static_cast<unsigned char const*
>(value);
37 m_objectData =
static_cast<unsigned char const*
>(value) + 9;
59 "ripple::NodeStore::DecodedBlob::createObject : valid object type");
static std::shared_ptr< NodeObject > createObject(NodeObjectType type, Blob &&data, uint256 const &hash)
Create an object from fields.
NodeObjectType m_objectType
std::shared_ptr< NodeObject > createObject()
Create a NodeObject from this data.
unsigned char const * m_objectData
DecodedBlob(void const *key, void const *value, int valueBytes)
Construct the decoded blob from raw data.
static base_uint fromVoid(void const *data)
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.