Hpack.octets.valid: def of bend-kit-http2@0.4.0.0 Import: import bend-kit-http2@0.4.0.0/hpack.bend as Hpack Lines 530-535 of bend-kit-http2@0.4.0.0/hpack.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http2@0.4.0.0/hpack.bend&start_line=530&end_line=535 import Base def octets.valid(s: String) -> Bool: match s: case SNil{}: True{} case SCon{Chr{+octet}, tail}: Bool.and(U32.is_le(octet, 255), octets.valid(tail)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and 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.is_le