Enc.units.step: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/lsp/enc.bend as Enc Lines 65-71 of bolt@1.27.0.0/src/lsp/enc.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/lsp/enc.bend&start_line=65&end_line=71 import Base # the units a char and the ones after it take: two for a wide char, else one def units.step(isw: Bool, rest: Nat) -> Nat: match isw: case True{}: 2n+rest case False{}: 1n+rest Uses (2): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat