GREM 3.12.0
Game/Rendering Engine Modules for C++
Loading...
Searching...
No Matches
base64.hpp
Go to the documentation of this file.
1// SPDX-FileCopyrightText: 2026 Ivar Härnqvist
2// SPDX-License-Identifier: MIT
3
4#ifndef GREM_CORE_FORMATS_BASE64_HPP
5#define GREM_CORE_FORMATS_BASE64_HPP
6
8
11
12namespace grem::base64 {
13
25GREM_API(core) String encode(StringView data);
26
40GREM_API(core) String decode(StringView string);
41
42} // namespace grem::base64
43
44#endif
Definition aliases.hpp:12
String encode(StringView data)
Encode arbitrary data into a Base64 string.
String decode(StringView string)
Decode the original data from a Base64 string.
StringBase< char, std::char_traits< char >, std::allocator< char > > String
Definition String.hpp:17
StringViewBase< char, std::char_traits< char > > StringView
Definition StringView.hpp:16