20#include <xrpl/basics/strHex.h> 
   21#include <xrpl/beast/utility/instrumentation.h> 
   22#include <xrpl/protocol/SField.h> 
   23#include <xrpl/protocol/STBase.h> 
   24#include <xrpl/protocol/STBlob.h> 
   25#include <xrpl/protocol/Serializer.h> 
   34    : 
STBase(name), value_(st.getVLBuffer())
 
 
   47    return emplace(n, buf, std::move(*
this));
 
 
   65    XRPL_ASSERT(
getFName().isBinary(), 
"ripple::STBlob::add : field is binary");
 
   68            (
getFName().fieldType == STI_ACCOUNT),
 
   69        "ripple::STBlob::add : valid field type");
 
 
std::size_t size() const noexcept
Returns the number of bytes in the buffer.
 
bool empty() const noexcept
 
std::uint8_t const * data() const noexcept
Return a pointer to beginning of the storage.
 
A type which can be exported to a well known binary format.
 
SField const & getFName() const
 
static STBase * emplace(std::size_t n, void *buf, T &&val)
 
SerializedTypeID getSType() const override
 
bool isEquivalent(STBase const &t) const override
 
STBase * move(std::size_t n, void *buf) override
 
void add(Serializer &s) const override
 
STBase * copy(std::size_t n, void *buf) const override
 
bool isDefault() const override
 
std::string getText() const override
 
int addVL(Blob const &vector)
 
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
 
std::string strHex(FwdIt begin, FwdIt end)