def octs.len
import emerging-ezhttp@0.21.0.0/src/http.bend as Httpimport Base
149# how many octets a received text is
150def octs.len(s: String) -> Nat:
151 match s:
152 case SNil{}:
153 0n
154 case SCon{h, t}:
155 Nat.add(octs.width(Char.to_u32(h)), octs.len(t))