def text

bendvy-ecs-core@0.1.0.3 · decode_utf16.bend:24

import bendvy-ecs-core@0.1.0.3/decode_utf16.bend as DecodeUtf16
import Base

24def text(value:String) -> List<&2,U32>:
25  match value:
26    case SNil{}: []
27    case SCon{Chr{+code},tail}: scalar(code,text(tail),U32.is_lt(code,65536))

Uses (6)

Used by (1)