Equity
Bitcoin Protocol Library
|
An abstract class that enables an object to be serialized by the serialization functions. More...
#include <Serialize.h>
Public Member Functions | |
virtual void | serialize (std::vector< uint8_t > &out) const =0 |
Serializes the object. More... | |
virtual json | toJson () const =0 |
Converts the object to a JSON object. More... | |
An abstract class that enables an object to be serialized by the serialization functions.
|
pure virtual |
Serializes the object.
[out] | out | destination |
|
pure virtual |
Converts the object to a JSON object.