diff options
| author | 2018-06-08 18:51:00 -0400 | |
|---|---|---|
| committer | 2018-06-08 18:51:00 -0400 | |
| commit | 9949e4d508ed686cd6b66461868c3a16445fa225 (patch) | |
| tree | 390ca18637ba51f2f5709a2bd01fb6ef55b6fdcc /src/common/string_util.h | |
| parent | Merge pull request #548 from Subv/blend (diff) | |
| parent | Common/string_util: add StringFromBuffer function (diff) | |
| download | yuzu-9949e4d508ed686cd6b66461868c3a16445fa225.tar.gz yuzu-9949e4d508ed686cd6b66461868c3a16445fa225.tar.xz yuzu-9949e4d508ed686cd6b66461868c3a16445fa225.zip | |
Merge pull request #533 from mailwl/array-to-buffer
Common/string_util: add StringFromBuffer() function
Diffstat (limited to 'src/common/string_util.h')
| -rw-r--r-- | src/common/string_util.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/string_util.h b/src/common/string_util.h index 65e4ea5d3..1f5a383cb 100644 --- a/src/common/string_util.h +++ b/src/common/string_util.h | |||
| @@ -21,6 +21,8 @@ std::string ToUpper(std::string str); | |||
| 21 | 21 | ||
| 22 | std::string ArrayToString(const u8* data, size_t size, int line_len = 20, bool spaces = true); | 22 | std::string ArrayToString(const u8* data, size_t size, int line_len = 20, bool spaces = true); |
| 23 | 23 | ||
| 24 | std::string StringFromBuffer(const std::vector<u8>& data); | ||
| 25 | |||
| 24 | std::string StripSpaces(const std::string& s); | 26 | std::string StripSpaces(const std::string& s); |
| 25 | std::string StripQuotes(const std::string& s); | 27 | std::string StripQuotes(const std::string& s); |
| 26 | 28 | ||