Source/Packages

Runtime.TelemetryValue

packages/execution/src/Runtime/TelemetryValue.alpha

138 lines12 declarations5.1 KiBSHA-256 009e6a09feb8

def · lines 13–14

telemetryDecimalDigits

Full file
A fixed-width JSON cell contains canonical quoted decimal digits followed by JSON whitespace OUTSIDE the closing quote. Source integers therefore stay canonical even as a value grows from one to twenty digits. Reserving leading zeroes inside the string would violate AOS-JSON-004. These cells are drain storage, not a new AOS value or acquisition representation.
13def telemetryDecimalDigits : Nat =
14  (bytes-length (naturalDecimalBytesWithin 20 aosU64Maximum))

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.