2020年1月6日

摘要: string 不能直接和byte数组转换 string可以和byte的切片转换 1,string 转为[]byte var str string = "test" var data []byte = []byte(str) 2,byte转为string var data [10]byte byte[ 阅读全文
posted @ 2020-01-06 15:32 张博的博客 阅读(964) 评论(0) 推荐(0) 编辑

导航