def SpanId.to_string

bend-trace-context@0.2.0.0 · trace_context.bend:572

import bend-trace-context@0.2.0.0/trace_context.bend as TraceContext
import Base
import bend-trace-context@0.2.0.0/src/digits.bend as Digits

572# The 16 lowercase hexadecimal digits of the span ID.
573def SpanId.to_string(id: SpanId) -> String:
574  match id:
575    case SpanId{value}:
576      Digits.NonZero.to_string(16n, value)

Uses (3)

Used by (1)