README ¶ hex 注意 编码后的长度 字符串编码到hex之后,长度会变成2倍。这是固定的。 注意:在线编码工具的结果和我们程序的结果多了两位,这是在线的这个工具编码的时候自动加了一个空格, 我们点解码之后可以看到原来的字符串多了一个空格。 运行结果 参考资料 https://golang.org/pkg/encoding/hex/ http://www.107000.com/T-Hex/ (在线编码工具) Expand ▾ Collapse ▴ Documentation ¶ There is no documentation for this package. Source Files ¶ View all Source files main.go Click to show internal directories. Click to hide internal directories.