def utf8.step.idle
import bend-kit-protobuf@0.2.0.0/protobuf.bend as Protobufimport Base
716def utf8.step.idle(idle: Bool, +need: U32, lo: U32, hi: U32, cp: U32, +b: U32, out: String) -> Result<&2, &2, Error, Utf8>:
717 match idle:
718 case True{}:
719 utf8.lead(U32.is_lt(b, 128), b, out)
720 case False{}:
721 utf8.cont(U32.is_le(lo, b) && U32.is_le(b, hi), need, cp, b, out)