HiI want to copy the data of structure into a buffer.I used memcpy() function but it doesn''t work, as structure has padding problem.Variables of my structure is of unsigned char,intn and char type.Can anybody suggest me how to copy structure data into a buffer.thanks 解决方案 这篇关于将Structure的数据复制到缓冲区中.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 10-28 12:19