摘要: 一. 概述 经常会遇到计算结构体偏移量的需求, 比如有下面这样一个结构体: struct mav_protocol { char header; char seq; short command_id; char payload[256]; int crc32; } p; 需要在传输到对端前填入它的c 阅读全文
posted @ 2021-03-04 15:09 夜行过客 阅读(1956) 评论(0) 推荐(0) 编辑