def snap.chars

bend-kit-runner@0.13.0.1 · runner.bend:480

import bend-kit-runner@0.13.0.1/runner.bend as Runner
import Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes

480def snap.chars(s: String, out: Bytes.Bytes) -> Bytes.Bytes:
481  match s:
482    case SNil{}:
483      out
484    case SCon{Chr{c}, t}:
485      snap.chars(t, snap.u32(out, c))

Uses (4)

Used by (1)