Documentation
¶
Index ¶
- func Base64(data []byte) string
- func Base64Decode(s string) ([]byte, error)
- func Base64Raw(data []byte) string
- func Base64URL(data []byte) string
- func Hex(data []byte) string
- func HexDecode(s string) ([]byte, error)
- func JSON(v any) string
- func ROT13(s string) string
- func URL(s string) string
- func URLDecode(s string) (string, error)
- func URLPath(s string) string
- func URLRaw(s string) string
- func UTF16LE(s string) []byte
- func XOR(data, key []byte) []byte
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Base64Decode ¶
Base64Decode decodes a standard base64 string.
func URLRaw ¶
URLRaw percent-encodes a string preserving RFC 3986 unreserved characters. Unlike url.QueryEscape, it encodes spaces as %20 (not +) and only escapes characters that are not in: A-Z a-z 0-9 - _ . ~
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.