Rename base64.{cpp.h} to str_util

This commit is contained in:
Vitaliy Filippov
2022-07-31 01:12:37 +03:00
parent 5af75f7d78
commit ae99ee6266
21 changed files with 21 additions and 21 deletions
+13
View File
@@ -0,0 +1,13 @@
// Copyright (c) Vitaliy Filippov, 2019+
// License: VNPL-1.1 (see README.md for details)
#pragma once
#include <stdint.h>
#include <string>
std::string base64_encode(const std::string &in);
std::string base64_decode(const std::string &in);
uint64_t parse_size(std::string size_str);
uint64_t stoull_full(const std::string & str, int base = 0);
std::string format_size(uint64_t size, bool nobytes = false);
void print_help(const char *help_text, std::string exe_name, std::string cmd, bool all);