Bitcoin
|
#include <serialize.h>
Public Member Functions | |
BigEndian (I &val) | |
template<typename Stream > | |
void | Serialize (Stream &s) const |
template<typename Stream > | |
void | Unserialize (Stream &s) |
Protected Attributes | |
I & | m_val |
Serialization wrapper class for big-endian integers.
Use this wrapper around integer types that are stored in memory in native byte order, but serialized in big endian notation. This is only intended to implement serializers that are compatible with existing formats, and its use is not recommended for new data structures.
Only 16-bit types are supported for now.
|
inline |
|
inline |
|
protected |