Golang Go中string与[]byte高效互转的方法实例 前言 当我们使用go进行数据序列化或反序列化操作时,可能经常涉及到字符串和字节数组的转换。例如: if str… 2021.09.20 465 0