我还没有在大端处理器上进行过测试,但是这总是给我一个最不重要的字节?
int i = 12345678; unsigned char c = static_cast<unsigned char>(i);
c++
c++ ×1