Http.utf8.width: def of gralha-http-core@0.1.0.0 Import: import gralha-http-core@0.1.0.0/http.bend as Http Lines 55-57 of gralha-http-core@0.1.0.0/http.bend: https://jend.leeeet.dev/read.txt?path=gralha-http-core@0.1.0.0/http.bend&start_line=55&end_line=57 import Base def utf8.width(+c: U32) -> U32: when(U32, U32.is_lt(c, 128), _ => 1, _ => when(U32, U32.is_lt(c, 2048), _ => 2, _ => when(U32, U32.is_lt(c, 65536), _ => 3, _ => 4))) Uses (3): 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=gralha-http-core@0.1.0.0/http.bend&name=when