package
0.5.0
Repository: https://github.com/gogogofast/gofast.git
Documentation: pkg.go.dev

# Functions

DecodeBinaryStr 将二进制字符串解码为原始字符串表示。 DecodeBinaryStr decodes a binary string into its original string representation.
DecodeHexStr 将十六进制字符串解码为其原始字符串表示,使用指定的编码。如果未指定编码,则默认为 UTF-8。 如果输入不是有效的十六进制字符串,则返回错误。 DecodeHexStr decodes a hexadecimal string into its original string representation using the specified encoding.
DecodeOctalStr 将八进制字符串解码为原始字符串表示。 DecodeOctalStr decodes an octal string into its original string representation.
EncodeBinaryStr 将字符串编码为二进制表示。 EncodeBinaryStr encodes a string into its binary representation.
EncodeHexStr 将字符串编码为指定编码的十六进制表示。如果未指定编码,则默认为 UTF-8。 EncodeHexStr encodes a string into its hexadecimal representation using the specified encoding.
EncodeOctalStr 将字符串编码为八进制表示。 EncodeOctalStr encodes a string into its octal representation.