#pragma once #include #include namespace Base64 { Result encode(StringView data); Result encode(Slice data); Result encode(const Buffer& data); Result decode(StringView data, bool allow_garbage_chars = false); Result decode_string(StringView data, bool allow_garbage_chars = false); }