Huffman.decode: def of bend-kit-http2@0.4.0.0 Import: import bend-kit-http2@0.4.0.0/huffman.bend as Huffman Lines 1291-1293 of bend-kit-http2@0.4.0.0/huffman.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-http2@0.4.0.0/huffman.bend&start_line=1291&end_line=1293 import Base import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes def decode(b: Bytes.Bytes) -> Maybe<&2, String>: Bytes.Bytes{+len, buf} = b decode.finish(decode.go(U32.to_nat(len), Bytes.Bytes{len, buf}, 0, Decoder{0, 0, SNil{}})) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.to_nat https://jend.leeeet.dev/definition.txt?path=bend-kit-bytes@0.3.3.0/bytes.bend&name=Bytes https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/huffman.bend&name=Decoder https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/huffman.bend&name=decode.finish https://jend.leeeet.dev/definition.txt?path=bend-kit-http2@0.4.0.0/huffman.bend&name=decode.go