def chars
import bolt@1.27.0.0/src/lsp/frame.bend as Frameimport Base
298# bytes as chars, one each (for the ASCII header)
299def chars(bs: List<&2, U32>, acc: List<&2, Char>) -> List<&2, Char>:
300 match bs:
301 case Nil{}:
302 acc
303 case Con{b, t}:
304 chars(t, Char.from_u32(b) <> acc)