Source/Packages

Runtime.TelemetryRecord

packages/execution/src/Runtime/TelemetryRecord.alpha

774 lines93 declarations28.3 KiBSHA-256 d4129743e998

def · lines 404–437

telemetryRecordPartBytes

Full file
404def telemetryRecordPartBytes : (pi unrestricted parts : (family TelemetryRecordParts) . Bytes) =
405  (lambda unrestricted parts : (family TelemetryRecordParts) .
406    (bytes-builder-build
407      (eliminate
408        TelemetryRecordParts
409        (lambda unrestricted current : (family TelemetryRecordParts) . BytesBuilder)
410        parts
411        (branch TelemetryRecordEnd . (bytes-builder-empty))
412        (branch
413          TelemetryRecordLiteral
414          bytes
415          tail
416          induction
417          .
418          (bytes-builder-append (bytes-builder-chunk bytes) induction))
419        (branch
420          TelemetryRecordDecimal
421          signed
422          offset
423          tail
424          induction
425          .
426          (bytes-builder-append (bytes-builder-chunk (telemetryDecimalCell 0 0)) induction))
427        (branch
428          TelemetryRecordHex
429          source
430          offset
431          width
432          reverse
433          nonzero
434          tail
435          induction
436          .
437          (bytes-builder-append (bytes-builder-chunk (telemetryRecordHexWitness width)) induction)))))

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.