/      日本語

mwx::bigendian

Data output in big-endian order
This is a helper class that outputs numeric types as big-endian byte sequences for the << operator of mwx::stream.
Serial << mwx::bigendian(0x1234abcdUL);

// output binary -> 0x12 0x34 0xab 0xcd

Constructor

template <typename T>
bigendian::bigendian(T v)
ParameterDescription
vA value of type uint16_t or uint32_t