Documentation ¶
Index ¶
- func FromBase64(s string) ([]byte, error)
- func FromBase64ToString(s string) (string, error)
- func FromJsonTo(from []byte, to any) error
- func StringToBase64(s string) string
- func ToBase64(bs []byte) string
- func ToJson(v any) (string, error)
- func ToJsonBytes(v any) ([]byte, error)
- type Base32Encoder
- type Base64Encoder
- type IStrEncoding
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromBase64 ¶
func FromBase64ToString ¶
func FromJsonTo ¶
func StringToBase64 ¶
func ToJsonBytes ¶
Types ¶
type Base32Encoder ¶
type Base32Encoder struct{}
type Base64Encoder ¶
type Base64Encoder struct{}
type IStrEncoding ¶
func NewBase32Encoder ¶
func NewBase32Encoder() IStrEncoding
func NewBase64Encoder ¶
func NewBase64Encoder() IStrEncoding
Click to show internal directories.
Click to hide internal directories.