Multipart.suffix.dash: def of bend-kit-multipart@0.3.0.0 Import: import bend-kit-multipart@0.3.0.0/multipart.bend as Multipart Lines 375-382 of bend-kit-multipart@0.3.0.0/multipart.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-multipart@0.3.0.0/multipart.bend&start_line=375&end_line=382 import Base # What follows a delimiter match (RFC 2046 ยง5.1.1): "--", or transport padding then CRLF, makes it a # delimiter (0). Anything else makes it data, as "--Bextra" is for boundary B (1). Too few bytes: 2. def suffix.dash(s: String) -> U32: match s: case SNil{}: 2 case SCon{Chr{+c}, t}: Bool.pick(U32, U32.is_eq(c, 45), 0, 1) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char 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=Base/base.bend&name=U32.is_eq