Link Search Menu Expand Document

base64

This module provides interface for encoding binary data into strings and decoding such encoded strings back into binary data based on the base64 encoding specified in RFC4648

Functions


base64.encode(data: bytes)
Encodes a byte array into a base64 string
return string
base64.decode(data: string)
Decodes a base64 string into it’s corresponding bytes
return bytes

Back to top

Copyright © 2021 Ore Richard Muyiwa. Distributed under the MIT license.