unsigned short BytesToShort(byte* srcByte) { if ( NULL == srcByte ) { return 0; } unsigned short Value = 0; memcpy(&Value,srcByte,sizeof(unsigned short)); return Value; }
69,369
社区成员
243,082
社区内容
加载中
试试用AI创作助手写篇文章吧