def encode
import bend-kit-http2@0.4.0.0/hpack.bend as Hpackimport Base
import bend-kit-bytes@0.3.3.0/bytes.bend as Bytes
649def encode(fields: List<&2, Field>, huff: Bool, st: State) -> Maybe<&1, State & Bytes.Bytes>:
650 encode.from(encode.prepare(st), fields, huff)