20 #include <ripple/basics/Log.h>
21 #include <ripple/basics/StringUtilities.h>
22 #include <ripple/protocol/STVector256.h>
23 #include <ripple/protocol/jss.h>
32 Throw<std::runtime_error>(
33 "Bad serialization for STVector256: " +
53 return emplace(n, buf, std::move(*
this));
87 for (
auto const& vEntry :
mValue)
@ arrayValue
array value (ordered list)
STBase * move(std::size_t n, void *buf) override
bool isDefault() const override
constexpr static std::size_t size()
SerializedTypeID getSType() const override
Value & append(const Value &value)
Append value to array at the end.
static STBase * emplace(std::size_t n, void *buf, T &&val)
void add(Serializer &s) const override
bool isEquivalent(const STBase &t) const override
std::vector< uint256 > mValue
SField const & getFName() const
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
STBase * copy(std::size_t n, void *buf) const override
A type which can be exported to a well known binary format.
int addVL(Blob const &vector)
std::string to_string(Manifest const &m)
Format the specified manifest to a string for debugging purposes.
Json::Value getJson(JsonOptions) const override
Slice getSlice(std::size_t bytes)