20 #ifndef RIPPLE_PROTOCOL_SERIALIZE_H_INCLUDED
21 #define RIPPLE_PROTOCOL_SERIALIZE_H_INCLUDED
23 #include <ripple/basics/strHex.h>
24 #include <ripple/protocol/STObject.h>
25 #include <ripple/protocol/Serializer.h>
30 template <
class Object>
std::vector< unsigned char > Blob
Storage for linear binary data.
Blob serializeBlob(Object const &o)
Serialize an object to a blob.
std::string serializeHex(STObject const &o)
Serialize an object to a hex string.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
Blob const & peekData() const
std::string strHex(FwdIt begin, FwdIt end)