会员
周边
新闻
博问
AI培训
云市场
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
Mozzarella_cheese
博客园
首页
新随笔
联系
管理
2021年7月14日
C 数值类型与字节数组相互转化
摘要: C 数据类型与字节数组相互转化 uint16_t → bytes uint8_t uint16_t2bytes(uint8_t* buffer, uint16_t data) { if(buffer == NULL) return 0; uint16_t tmp2byte = data; *buff
阅读全文
posted @ 2021-07-14 21:31 Mozzarella_cheese
阅读(313)
评论(0)
推荐(0)
编辑
公告