def snap.chars
import bend-kit-runner@0.13.0.1/runner.bend as Runnerimport 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))