codec

package
v2.1.41 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 22, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base32Decode added in v2.0.5

func Base32Decode(str string) (string, error)

Base32Decode 32进制转字符串

func Base32Encode added in v2.0.5

func Base32Encode(str string) string

Base32Encode 字符串转32进制

func Base64Decode added in v2.0.5

func Base64Decode(str string) (string, error)

Base64Decode 64进制转字符串

func Base64Encode added in v2.0.5

func Base64Encode(str string) string

Base64Encode 字符串转64进制

func GzipDecode

func GzipDecode(msg string) string

GzipDecode Gzip转字符串

func GzipEncode

func GzipEncode(msg string) (string, error)

GzipEncode 字符串转gzip

func HexDecode added in v2.0.5

func HexDecode(str string) (string, error)

HexDecode 16进制转字符串

func HexEncode added in v2.0.5

func HexEncode(str string) string

HexEncode 字符串转16进制

func UrlDecode

func UrlDecode(urls string) (string, error)

UrlDecode URL解码

func UrlEncode

func UrlEncode(urls string) (string, error)

UrlEncode URL编码

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL