|
template<typename T > |
T & | REF (const T &val) |
| Used to bypass the rule against non-const reference to temporary where it makes sense with wrappers such as CFlatData or CTxDB. More...
|
|
template<typename T > |
T * | NCONST_PTR (const T *val) |
| Used to acquire a non-const pointer "this" to generate bodies of const serialization operations from a template. More...
|
|
template<typename Stream > |
void | ser_writedata8 (Stream &s, uint8_t obj) |
|
template<typename Stream > |
void | ser_writedata16 (Stream &s, uint16_t obj) |
|
template<typename Stream > |
void | ser_writedata32 (Stream &s, uint32_t obj) |
|
template<typename Stream > |
void | ser_writedata32be (Stream &s, uint32_t obj) |
|
template<typename Stream > |
void | ser_writedata64 (Stream &s, uint64_t obj) |
|
template<typename Stream > |
uint8_t | ser_readdata8 (Stream &s) |
|
template<typename Stream > |
uint16_t | ser_readdata16 (Stream &s) |
|
template<typename Stream > |
uint32_t | ser_readdata32 (Stream &s) |
|
template<typename Stream > |
uint32_t | ser_readdata32be (Stream &s) |
|
template<typename Stream > |
uint256 | ser_readdata256 (Stream &s) |
|
template<typename Stream > |
uint64_t | ser_readdata64 (Stream &s) |
|
uint64_t | ser_double_to_uint64 (double x) |
|
uint32_t | ser_float_to_uint32 (float x) |
|
double | ser_uint64_to_double (uint64_t y) |
|
float | ser_uint32_to_float (uint32_t y) |
|
template<typename Stream > |
void | Serialize (Stream &s, char a) |
|
template<typename Stream > |
void | Serialize (Stream &s, int8_t a) |
|
template<typename Stream > |
void | Serialize (Stream &s, uint8_t a) |
|
template<typename Stream > |
void | Serialize (Stream &s, int16_t a) |
|
template<typename Stream > |
void | Serialize (Stream &s, uint16_t a) |
|
template<typename Stream > |
void | Serialize (Stream &s, int32_t a) |
|
template<typename Stream > |
void | Serialize (Stream &s, uint32_t a) |
|
template<typename Stream > |
void | Serialize (Stream &s, int64_t a) |
|
template<typename Stream > |
void | Serialize (Stream &s, uint64_t a) |
|
template<typename Stream > |
void | Serialize (Stream &s, float a) |
|
template<typename Stream > |
void | Serialize (Stream &s, double a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, char &a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, int8_t &a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, uint8_t &a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, int16_t &a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, uint16_t &a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, int32_t &a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, uint32_t &a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, int64_t &a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, uint64_t &a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, float &a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, double &a) |
|
template<typename Stream > |
void | Serialize (Stream &s, bool a) |
|
template<typename Stream > |
void | Unserialize (Stream &s, bool &a) |
|
unsigned int | GetSizeOfCompactSize (uint64_t nSize) |
| Compact Size size < 253 – 1 byte size <= USHRT_MAX – 3 bytes (253 + 2 bytes) size <= UINT_MAX – 5 bytes (254 + 4 bytes) size > UINT_MAX – 9 bytes (255 + 8 bytes) More...
|
|
void | WriteCompactSize (CSizeComputer &os, uint64_t nSize) |
|
template<typename Stream > |
void | WriteCompactSize (Stream &os, uint64_t nSize) |
|
template<typename Stream > |
uint64_t | ReadCompactSize (Stream &is) |
|
template<typename Stream > |
uint256 | ReadUint256 (Stream &is) |
|
template<typename I > |
unsigned int | GetSizeOfVarInt (I n) |
| Variable-length integers: bytes are a MSB base-128 encoding of the number. More...
|
|
template<typename I > |
void | WriteVarInt (CSizeComputer &os, I n) |
|
template<typename Stream , typename I > |
void | WriteVarInt (Stream &os, I n) |
|
template<typename Stream , typename I > |
I | ReadVarInt (Stream &is) |
|
template<typename I > |
CVarInt< I > | WrapVarInt (I &n) |
|
template<typename Stream , typename C > |
void | Serialize (Stream &os, const std::basic_string< C > &str) |
| Forward declarations. More...
|
|
template<typename Stream , typename C > |
void | Unserialize (Stream &is, std::basic_string< C > &str) |
|
template<typename Stream , unsigned int N, typename T > |
void | Serialize_impl (Stream &os, const prevector< N, T > &v, const unsigned char &) |
| prevector prevectors of unsigned char are a special case and are intended to be serialized as a single opaque blob. More...
|
|
template<typename Stream , unsigned int N, typename T , typename V > |
void | Serialize_impl (Stream &os, const prevector< N, T > &v, const V &) |
|
template<typename Stream , unsigned int N, typename T > |
void | Serialize (Stream &os, const prevector< N, T > &v) |
|
template<typename Stream , unsigned int N, typename T > |
void | Unserialize_impl (Stream &is, prevector< N, T > &v, const unsigned char &) |
|
template<typename Stream , unsigned int N, typename T , typename V > |
void | Unserialize_impl (Stream &is, prevector< N, T > &v, const V &) |
|
template<typename Stream , unsigned int N, typename T > |
void | Unserialize (Stream &is, prevector< N, T > &v) |
|
template<typename Stream , typename T , typename A > |
void | Serialize_impl (Stream &os, const std::vector< T, A > &v, const unsigned char &) |
| vector vectors of unsigned char are a special case and are intended to be serialized as a single opaque blob. More...
|
|
template<typename Stream , typename T , typename A , typename V > |
void | Serialize_impl (Stream &os, const std::vector< T, A > &v, const V &) |
|
template<typename Stream , typename T , typename A > |
void | Serialize (Stream &os, const std::vector< T, A > &v) |
|
template<typename Stream , typename T , typename A > |
void | Unserialize_impl (Stream &is, std::vector< T, A > &v, const unsigned char &) |
|
template<typename Stream , typename T , typename A , typename V > |
void | Unserialize_impl (Stream &is, std::vector< T, A > &v, const V &) |
|
template<typename Stream , typename T , typename A > |
void | Unserialize (Stream &is, std::vector< T, A > &v) |
|
template<typename Stream , typename K , typename T > |
void | Serialize (Stream &os, const std::pair< K, T > &item) |
| pair More...
|
|
template<typename Stream , typename K , typename T > |
void | Unserialize (Stream &is, std::pair< K, T > &item) |
|
template<typename Stream , typename K , typename T , typename Pred , typename A > |
void | Serialize (Stream &os, const std::map< K, T, Pred, A > &m) |
| map More...
|
|
template<typename Stream , typename K , typename T , typename Pred , typename A > |
void | Unserialize (Stream &is, std::map< K, T, Pred, A > &m) |
|
template<typename Stream , typename K , typename Pred , typename A > |
void | Serialize (Stream &os, const std::set< K, Pred, A > &m) |
| set More...
|
|
template<typename Stream , typename K , typename Pred , typename A > |
void | Unserialize (Stream &is, std::set< K, Pred, A > &m) |
|
template<typename Stream , typename T > |
void | Serialize (Stream &os, const std::shared_ptr< const T > &p) |
| shared_ptr More...
|
|
template<typename Stream , typename T > |
void | Unserialize (Stream &os, std::shared_ptr< const T > &p) |
|
template<typename Stream , typename T > |
void | Serialize (Stream &os, const std::unique_ptr< const T > &p) |
| unique_ptr More...
|
|
template<typename Stream , typename T > |
void | Unserialize (Stream &os, std::unique_ptr< const T > &p) |
|
template<typename Stream , typename T > |
void | Serialize (Stream &os, const T &a) |
| If none of the specialized versions above matched, default to calling member function. More...
|
|
template<typename Stream , typename T > |
void | Unserialize (Stream &is, T &a) |
|
template<typename Stream , typename T > |
void | SerReadWrite (Stream &s, const T &obj, CSerActionSerialize ser_action) |
|
template<typename Stream , typename T > |
void | SerReadWrite (Stream &s, T &obj, CSerActionUnserialize ser_action) |
|
template<typename Stream > |
void | SerializeMany (Stream &s) |
|
template<typename Stream , typename Arg > |
void | SerializeMany (Stream &s, Arg &&arg) |
|
template<typename Stream , typename Arg , typename... Args> |
void | SerializeMany (Stream &s, Arg &&arg, Args &&...args) |
|
template<typename Stream > |
void | UnserializeMany (Stream &s) |
|
template<typename Stream , typename Arg > |
void | UnserializeMany (Stream &s, Arg &arg) |
|
template<typename Stream , typename Arg , typename... Args> |
void | UnserializeMany (Stream &s, Arg &arg, Args &...args) |
|
template<typename Stream , typename... Args> |
void | SerReadWriteMany (Stream &s, CSerActionSerialize ser_action, Args &&...args) |
|
template<typename Stream , typename... Args> |
void | SerReadWriteMany (Stream &s, CSerActionUnserialize ser_action, Args &...args) |
|
template<typename T > |
size_t | GetSerializeSize (const T &t, int nType, int nVersion=0) |
|
template<typename S , typename T > |
size_t | GetSerializeSize (const S &s, const T &t) |
|