Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Decode ¶
Decode decodes src. It writes at most DecodedLen(len(src)) bytes to dst and returns the number of bytes written. If src contains invalid armor64 data, it will return the number of bytes successfully written and base64.CorruptInputError.
func DecodeString ¶
DecodeString returns the bytes represented by the armor64 string s. If s contains invalid armor64 data, it will return nil and base64.CorruptInputError.
func DecodedLen ¶
DecodedLen returns the maximum length in bytes of the decoded data corresponding to n bytes of armor64-encoded data.
func Encode ¶
Encode encodes src, writing EncodedLen(len(src)) bytes to dst.
func EncodeToString ¶
EncodeToString returns the armor64 encoding of src.
func EncodedLen ¶
EncodedLen returns the length in bytes of the armor64 encoding of an input buffer of length n.
Types ¶
This section is empty.