20 #ifndef RIPPLE_NODESTORE_ENCODEDBLOB_H_INCLUDED
21 #define RIPPLE_NODESTORE_ENCODEDBLOB_H_INCLUDED
23 #include <ripple/basics/Buffer.h>
24 #include <ripple/nodestore/NodeObject.h>
51 return reinterpret_cast<void const*
>(
m_data.
data());
std::size_t getSize() const noexcept
Like std::vector<char> but better.
void const * getData() const noexcept
std::size_t size() const noexcept
Returns the number of bytes in the buffer.
std::uint8_t const * data() const noexcept
Return a pointer to beginning of the storage.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Utility for producing flattened node objects.
void const * getKey() const noexcept
void prepare(std::shared_ptr< NodeObject > const &object)