Encoding.utf8.push2: def of bend-kit-encoding@0.5.0.0 Import: import bend-kit-encoding@0.5.0.0/encoding.bend as Encoding Lines 47-52 of bend-kit-encoding@0.5.0.0/encoding.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-encoding@0.5.0.0/encoding.bend&start_line=47&end_line=52 import Base def utf8.push2(+c: U32, o: Out, small: Bool) -> Out: match small: case True{}: put(put(o, (192 + U32.shrn(c, 6n) : U32)), utf8.cont(c, 0n)) case False{}: utf8.push3(c, o, U32.is_lt(c, 65536)) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.shrn https://jend.leeeet.dev/definition.txt?path=bend-kit-encoding@0.5.0.0/encoding.bend&name=Out https://jend.leeeet.dev/definition.txt?path=bend-kit-encoding@0.5.0.0/encoding.bend&name=put https://jend.leeeet.dev/definition.txt?path=bend-kit-encoding@0.5.0.0/encoding.bend&name=utf8.cont https://jend.leeeet.dev/definition.txt?path=bend-kit-encoding@0.5.0.0/encoding.bend&name=utf8.push3