Documentation
¶
Index ¶
- Variables
- func Base32Decode(s string) ([]byte, error)
- func Base32Encode(src []byte) string
- func Base64Decode(s string) ([]byte, error)
- func Base64Encode(src []byte) string
- func BytesPadding(text []byte, size int) []byte
- func HexDecode(s string) ([]byte, error)
- func HexEncode(src []byte) string
- func HexPadding(text string, size int) string
- type Encoding
- func (this *Encoding) Base32Decode(s string) ([]byte, error)
- func (this *Encoding) Base32Encode(src []byte) string
- func (this *Encoding) Base64Decode(s string) ([]byte, error)
- func (this *Encoding) Base64Encode(src []byte) string
- func (this *Encoding) BytesPadding(text []byte, size int) []byte
- func (this *Encoding) HexDecode(s string) ([]byte, error)
- func (this *Encoding) HexEncode(src []byte) string
- func (this *Encoding) HexPadding(text string, size int) string
Constants ¶
This section is empty.
Variables ¶
View Source
var StdEncoding = New()
StdEncoding
Functions ¶
Types ¶
type Encoding ¶
type Encoding struct{}
*
- Encoding *
- @create 2022-4-17
- @author deatil
func (*Encoding) Base32Decode ¶ added in v1.0.5027
Base32 Decode
func (*Encoding) Base32Encode ¶ added in v1.0.5027
Base32 Encode
func (*Encoding) Base64Decode ¶
Base64 Decode
func (*Encoding) BytesPadding ¶
Bytes Padding
Click to show internal directories.
Click to hide internal directories.