mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
add base64 library
This commit is contained in:
parent
712c0756b8
commit
0bfc5d2ad4
6 changed files with 62 additions and 3 deletions
|
|
@ -363,8 +363,8 @@ util::Buffer<ubyte> util::base64_decode(const char* str, size_t size) {
|
|||
return bytes;
|
||||
}
|
||||
|
||||
util::Buffer<ubyte> util::base64_decode(const std::string& str) {
|
||||
return base64_decode(str.c_str(), str.size());
|
||||
util::Buffer<ubyte> util::base64_decode(std::string_view str) {
|
||||
return base64_decode(str.data(), str.size());
|
||||
}
|
||||
|
||||
int util::replaceAll(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue