summaryrefslogtreecommitdiff
path: root/indra/llcommon/u64.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon/u64.h')
-rw-r--r--indra/llcommon/u64.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/indra/llcommon/u64.h b/indra/llcommon/u64.h
index f4580513bc..3b833a4587 100644
--- a/indra/llcommon/u64.h
+++ b/indra/llcommon/u64.h
@@ -38,7 +38,14 @@
* @param str The string to parse.
* @return Returns the first U64 value found in the string or 0 on failure.
*/
-U64 str_to_U64(const char* str);
+U64 str_to_U64(const std::string& str);
+
+/**
+ * @brief Given a U64 value, return a printable representation.
+ * @param value The U64 to turn into a printable character array.
+ * @return Returns the result string.
+ */
+std::string U64_to_str(U64 value);
/**
* @brief Given a U64 value, return a printable representation.