Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
OSReadBigInt8 似乎不像 OSReadBigInt16 和 OSReadBigInt32 那样存在。我会在目标 c 中将网络字节转换为我的平台的字节序吗?我该怎么做?
字节顺序对于单个字节是没有意义的。直接复制过来就好了。
uint8_t hostByte = networkByte;