def emit.full
import bend-kit-http2@0.4.0.0/huffman.bend as Huffmanimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
1161def emit.full(full: Bool, out: Bytes.Bytes, +at: U32, +partial: U32, +bits: U32) -> Builder:
1162 match full:
1163 case True{}:
1164 Builder{Bytes.set(out, at, partial), (at + 1 : U32), 0, 0}
1165 case False{}:
1166 Builder{out, at, partial, (bits + 1 : U32)}