如何在C ++中的big-endian和little-endian值之间进行转换?(How do I convert between big-endian and little-endian values in C++?)

C/C++ IT屋