This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

关于大小端的问题(BIG ENDIAN LITTLE ENDIAN)



最近想写一个UDP的简单的协议的实现,涉及到大小端的问题,请问是否能从库里面的到大小端的信息?也就是不通过读取寄存器值以及不需要自己定义,问题就是是否在csl库里面已经提前定义了形如BIG_ENDIAN或者LITTLE_ENDIAN的宏定义?谢谢各位~