encoding

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func B64Decode added in v0.1.11

func B64Decode(data string) (string, error)

func B64DecodeBytes added in v0.1.11

func B64DecodeBytes(data []byte) (string, error)

func B64DecodeBytesToBytes added in v0.1.11

func B64DecodeBytesToBytes(data []byte) ([]byte, error)

func B64DecodeToBytes added in v0.1.11

func B64DecodeToBytes(data string) ([]byte, error)

func B64Encode added in v0.1.11

func B64Encode(data string, padding ...rune) string

func B64EncodeBytes added in v0.1.11

func B64EncodeBytes(data []byte, padding ...rune) string

func B64EncodeBytesToBytes added in v0.1.11

func B64EncodeBytesToBytes(data []byte, padding ...rune) []byte

func B64EncodeToBytes added in v0.1.11

func B64EncodeToBytes(data string, padding ...rune) []byte

func B64RawDecode added in v0.1.11

func B64RawDecode(data string) (string, error)

func B64RawDecodeBytes added in v0.1.11

func B64RawDecodeBytes(data []byte) (string, error)

func B64RawDecodeBytesToBytes added in v0.1.11

func B64RawDecodeBytesToBytes(data []byte) ([]byte, error)

func B64RawDecodeToBytes added in v0.1.11

func B64RawDecodeToBytes(data string) ([]byte, error)

func B64RawEncode added in v0.1.11

func B64RawEncode(data string, padding ...rune) string

func B64RawEncodeBytes added in v0.1.11

func B64RawEncodeBytes(data []byte, padding ...rune) string

func B64RawEncodeBytesToBytes added in v0.1.11

func B64RawEncodeBytesToBytes(data []byte, padding ...rune) []byte

func B64RawEncodeToBytes added in v0.1.11

func B64RawEncodeToBytes(data string, padding ...rune) []byte

func B64URLDecode added in v0.1.11

func B64URLDecode(data string) (string, error)

func B64URLDecodeBytes added in v0.1.11

func B64URLDecodeBytes(data []byte) (string, error)

func B64URLDecodeBytesToBytes added in v0.1.11

func B64URLDecodeBytesToBytes(data []byte) ([]byte, error)

func B64URLDecodeToBytes added in v0.1.11

func B64URLDecodeToBytes(data string) ([]byte, error)

func B64URLEncode added in v0.1.11

func B64URLEncode(data string, padding ...rune) string

func B64URLEncodeBytes added in v0.1.11

func B64URLEncodeBytes(data []byte, padding ...rune) string

func B64URLEncodeBytesToBytes added in v0.1.11

func B64URLEncodeBytesToBytes(data []byte, padding ...rune) []byte

func B64URLEncodeToBytes added in v0.1.11

func B64URLEncodeToBytes(data string, padding ...rune) []byte

func B64URLRawDecode added in v0.1.11

func B64URLRawDecode(data string) (string, error)

func B64URLRawDecodeBytes added in v0.1.11

func B64URLRawDecodeBytes(data []byte) (string, error)

func B64URLRawDecodeBytesToBytes added in v0.1.11

func B64URLRawDecodeBytesToBytes(data []byte) ([]byte, error)

func B64URLRawDecodeToBytes added in v0.1.11

func B64URLRawDecodeToBytes(data string) ([]byte, error)

func B64URLRawEncode added in v0.1.11

func B64URLRawEncode(data string, padding ...rune) string

func B64URLRawEncodeBytes added in v0.1.11

func B64URLRawEncodeBytes(data []byte, padding ...rune) string

func B64URLRawEncodeBytesToBytes added in v0.1.11

func B64URLRawEncodeBytesToBytes(data []byte, padding ...rune) []byte

func B64URLRawEncodeToBytes added in v0.1.11

func B64URLRawEncodeToBytes(data string, padding ...rune) []byte

func MarshalJSON

func MarshalJSON[T any](v T, marshaler ...json.Marshaler) ([]byte, error)

func MustB64Decode added in v0.1.11

func MustB64Decode(data string) string

func MustB64RawDecode added in v0.1.11

func MustB64RawDecode(data string) string

func MustB64URLDecode added in v0.1.11

func MustB64URLDecode(data string) string

func MustB64URLRawDecode added in v0.1.11

func MustB64URLRawDecode(data string) string

func MustMarshalJSON

func MustMarshalJSON[T any](v T, marshaler ...json.Marshaler) []byte

func MustUnmarshalJSON

func MustUnmarshalJSON[T any](data []byte, unmarshaler ...json.Unmarshaler) T

func UnmarshalJSON

func UnmarshalJSON[T any](data []byte, unmarshaler ...json.Unmarshaler) (T, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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