aboutsummaryrefslogtreecommitdiff
path: root/CRT/eastl_compat.hpp
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2023-09-27 00:10:24 +0200
committerToni Uhlig <matzeton@googlemail.com>2023-09-27 00:10:24 +0200
commit54f3087873fa1083c809939e74caf1ff29efc9d7 (patch)
treeb26e5b601cb848af1d1a3f47cf4a8bf37eac58d1 /CRT/eastl_compat.hpp
parenta6d87015eb69fbdb18266cc5c59309140d942667 (diff)
Added `::to_string_hex()`.
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'CRT/eastl_compat.hpp')
-rw-r--r--CRT/eastl_compat.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/CRT/eastl_compat.hpp b/CRT/eastl_compat.hpp
index 442dc03..2459e75 100644
--- a/CRT/eastl_compat.hpp
+++ b/CRT/eastl_compat.hpp
@@ -12,6 +12,13 @@ eastl::string to_string(unsigned long long int value);
eastl::string to_string(float value);
eastl::string to_string(double value);
+eastl::string to_string_hex(int value, size_t fill_width = 0);
+eastl::string to_string_hex(long value, size_t fill_width = 0);
+eastl::string to_string_hex(long long value, size_t fill_width = 0);
+eastl::string to_string_hex(unsigned int value, size_t fill_width = 0);
+eastl::string to_string_hex(unsigned long int value, size_t fill_width = 0);
+eastl::string to_string_hex(unsigned long long int value, size_t fill_width = 0);
+
#ifndef NATIVE
eastl::string from_unicode(wchar_t * wstr, unsigned short wlen, unsigned short wmax = 0);
#endif