Documentation ¶
Overview ¶
Package hex 提供常用16进制编解码方法
Index ¶
- func Decode(src []byte) ([]byte, error)
- func DecodeHexStringToString(s string) string
- func DecodeString(s string) ([]byte, error)
- func DecodeToString(src []byte) string
- func Encode(src []byte) []byte
- func EncodeString(s string) []byte
- func EncodeStringToHexString(s string) string
- func EncodeToString(src []byte) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeHexStringToString ¶
DecodeHexStringToString 解码16进制字符串为明文字符串
func EncodeStringToHexString ¶
EncodeStringToHexString 编码明文字符串加密为16进制字符串
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.