Form.octets.onto: def of emerging-ezhttp@0.21.0.0 Import: import emerging-ezhttp@0.21.0.0/src/form.bend as Form Lines 53-59 of emerging-ezhttp@0.21.0.0/src/form.bend: https://jend.leeeet.dev/read.txt?path=emerging-ezhttp@0.21.0.0/src/form.bend&start_line=53&end_line=59 import Base import emerging-ezhttp@0.21.0.0/src/pct.bend as Pct # a string's UTF-8 octets in front of `rest` (RFC 3629 ยง3) def octets.onto(s: String, rest: List<&2, U32>) -> List<&2, U32>: match s: case SNil{}: rest case SCon{Chr{+cp}, tail}: List.append(&2, U32, Pct.utf8(cp), octets.onto(tail, rest)) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=emerging-ezhttp@0.21.0.0/src/pct.bend&name=utf8