Pct.utf8.three: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/pct.bend as Pct Lines 43-49 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=43&end_line=49 import Base # three bytes below U+10000, else four def utf8.three(+cp: U32, fits: Bool) -> List<&2, U32>: match fits: case True{}: [U32.or(224, U32.shrn(cp, 12n)), cont(cp, 6n), cont(cp, 0n)] case False{}: utf8.four(cp) Uses (7): 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.or https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shrn https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/pct.bend&name=cont https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/pct.bend&name=utf8.four