about summary refs log tree commit diff stats
path: root/src/utils/twtstr.nim
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/twtstr.nim')
-rw-r--r--src/utils/twtstr.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/twtstr.nim b/src/utils/twtstr.nim
index 8171010a..3744d9e2 100644
--- a/src/utils/twtstr.nim
+++ b/src/utils/twtstr.nim
@@ -291,6 +291,9 @@ func parseOctUInt32*(s: string; allowSign: static bool): Option[uint32] =
 func parseHexUInt32*(s: string; allowSign: static bool): Option[uint32] =
   return parseUIntImpl[uint32](s, allowSign, AsciiHexDigit, 16)
 
+func parseUInt64*(s: string; allowSign: static bool): Option[uint64] =
+  return parseUIntImpl[uint64](s, allowSign)
+
 #TODO not sure where this algorithm is from...
 # (probably from CSS)
 func parseFloat64*(s: string): float64 =