Pct.utf8.one: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/pct.bend as Pct Lines 59-65 of emerging-ezhttp@0.21.0.0/src/pct.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/pct.bend&start_line=59&end_line=65 import Base # one byte below U+0080, else more def utf8.one(+cp: U32, fits: Bool) -> List<&2, U32>: match fits: case True{}: [cp] case False{}: utf8.two(cp, U32.is_lt(cp, 2048)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/pct.bend&name=utf8.two