import "cuelang.org/go/pkg/encoding/base64"
Package base64 implements base64 encoding as specified by RFC 4648.
Decode returns the bytes represented by the base64 string s. Encoding needs to be set to null as only StdEncoding is supported for now.
DecodedLen returns the maximum length in bytes of the decoded data corresponding to n bytes of base64-encoded data. Encoding needs to be set to null as only StdEncoding is supported for now.
Encode returns the base64 encoding of src. Encoding needs to be set to null as only StdEncoding is supported for now.
EncodedLen returns the length in bytes of the base64 encoding of an input buffer of length n. Encoding needs to be set to null as only StdEncoding is supported for now.
Package base64 imports 5 packages (graph) and is imported by 2 packages. Updated 2021-01-24. Refresh now. Tools for package owners.