Procs
proc addInt(result: var string; x: int) {.inline, enforceNoRaises, ...raises: [], tags: [].}
- Source Edit
proc addInt(result: var string; x: int64) {.enforceNoRaises, ...raises: [], tags: [].}
-
Converts integer to its string representation and appends it to result.
Example:
var s = "foo" s.addInt(45) assert s == "foo45"
Source Edit proc trailingZeros2Digits(digits: uint32): int32 {.inline, ...raises: [], tags: [].}
- Source Edit