encoding/base64

Package base64 implements base64 encoding as specified by RFC 4648.

Index

Functions

func DecodeString

1func DecodeString(s string) ([]byte, error)

DecodeString returns the bytes represented by the base64 string s.

func EncodeToString

1func EncodeToString(src []byte) string

EncodeToString returns the base64 encoding of src.


© Matthias Hochgatterer – MastodonGithubRésumé