#api/space-lua
The encoding API implements a few useful functions to handle various types of encoding.
Encodes data (either a string or byte buffer) as a base64 encoded string.
Decodes a base64 encoded string into a byte buffer.
Encodes a (UTF-8) string into a byte buffer.
Decodes a byte buffer into a (UTF-8) string.