#golang go中, string和byte slice的转换是有copy代价的. 转runes也是同样的语法糖, 如果不是有效的utf8内容,会给出 0xFFFD

Reply to this note

Please Login to reply.

Discussion

No replies yet.