20 #ifndef RIPPLE_SHAMAP_SHAMAPITEM_H_INCLUDED
21 #define RIPPLE_SHAMAP_SHAMAPITEM_H_INCLUDED
23 #include <ripple/basics/Buffer.h>
24 #include <ripple/basics/CountedObject.h>
25 #include <ripple/basics/Slice.h>
26 #include <ripple/basics/base_uint.h>
void const * data() const
Tracks the number of instances of an object.
An immutable linear range of bytes.
Like std::vector<char> but better.
uint256 const & key() const
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.
SHAMapItem(uint256 const &tag, Slice data)