摘要: Golang数据结构与[]byte的相互转换,需要了解两个数据结构具体的底层实现,然后构造相同的数据结构进行转换即可。 package main import ( "fmt" "unsafe" ) type Data struct { a,b int32 c map[string]interface 阅读全文
posted @ 2020-03-03 19:30 cppthomas 阅读(9376) 评论(0) 推荐(0)