208 template <
typename T>
216 template <
typename T>
224 template <
typename T>
234 template <
typename T>
244 template <
typename T>
249 template <
typename T>
251 form_native_order(T &control);
253 template <
typename T>
257 std::vector<uint8_t> inner;
258 std::vector<size_t> native_order;
void get_big(T &result)
Returns "big endian" number.
ByteOrder()
ByteOrder constructor.
ByteOrder(int32_t val)
ByteOrder constructor.
ByteOrder & operator=(const float &val)
operator =
ByteOrder & operator=(const uint64_t &val)
operator =
ByteOrder(uint16_t val)
ByteOrder constructor.
ByteOrder(double val)
ByteOrder constructor.
ByteOrder & operator=(const uint16_t &val)
operator =
ByteOrder & operator=(const uint32_t &val)
operator =
void set_big(T val)
Sets inner value to val.
ByteOrder & operator=(const int16_t &val)
operator =
virtual ~ByteOrder()
ByteOrder destructor.
ByteOrder & operator=(const double &val)
operator =
void set_little(T val)
Sets inner value to val.
ByteOrder & operator=(const int32_t &val)
operator =
ByteOrder & operator=(const int64_t &val)
operator =
ByteOrder(float val)
ByteOrder constructor.
ByteOrder(uint32_t val)
ByteOrder constructor.
ByteOrder(const ByteOrder &other)
ByteOrder copy constructor.
ByteOrder(int64_t val)
ByteOrder constructor.
ByteOrder(uint64_t val)
ByteOrder constructor.
void get_little(T &result)
Returns "little endian" number.
void get_native(T &result)
Returns number in native byte order.
ByteOrder(int16_t val)
ByteOrder constructor.
ByteOrder & operator=(const ByteOrder &other)
operator =