def utf8.lead
import bend-kit-protobuf@0.2.0.0/protobuf.bend as Protobufimport Base
695def utf8.lead(ascii: Bool, +b: U32, out: String) -> Result<&2, &2, Error, Utf8>:
696 match ascii:
697 case True{}:
698 Done{Utf8{0, 128, 191, 0, SCon{Chr{b}, out}}}
699 case False{}:
700 utf8.lead.high(U32.is_ge(b, 194) && U32.is_le(b, 244), b, out)