def w8s.text.go

bend-osdev-bytes@0.1.1.0 · bytes.bend:528

import bend-osdev-bytes@0.1.1.0/bytes.bend as Bytes
import Base

528# text and hex, built from the last byte back (rs is the string reversed)
529def w8s.text.go(rs: List<&2, OctByte>, acc: String) -> String:
530  match rs:
531    case Nil{}:
532      acc
533    case Con{h, t}:
534      w8s.text.go(t, SCon{Chr{oct.to(h)}, acc})

Uses (5)

Used by (3)