def utf8.more

bend-kit-encoding@0.5.0.0 · encoding.bend:101

import bend-kit-encoding@0.5.0.0/encoding.bend as Encoding
import Base

101def utf8.more(+need: U32, cp: U32, out: String, done: Bool) -> Utf8:
102  match done:
103    case True{}:
104      Utf8{0, 128, 191, 0, SCon{Chr{cp}, out}}
105    case False{}:
106      Utf8{need, 128, 191, cp, out}

Uses (5)

Used by (1)