Skip to content

Minilib.Encoding.Base64

Defined in minilib-binary@0.5.1

BASE64 encoding and decoding

Values

namespace Minilib.Encoding.Base64

base64_decode

Type: Std::String -> Std::Array Std::U8

Decodes a string which contains BASE64 characters to a byte array. Characters other than BASE64 are ignored.

base64_encode

Type: Std::Array Std::U8 -> Std::String

Encodes a byte array to a BASE64 string.

Types and aliases

Traits and aliases

Trait implementations