def decode.literal.finish

bend-kit-http2@0.4.0.0 · hpack.bend:395

import bend-kit-http2@0.4.0.0/hpack.bend as Hpack
import Base

395def decode.literal.finish(insert: Bool, +field: Field, st: State, c: Cursor) -> Maybe<&1, Step>:
396  match insert:
397    case True{}:
398      Some{Step{table.insert(field, st), c, Some{field}}}
399    case False{}:
400      Some{Step{st, c, Some{field}}}

Uses (7)

Used by (1)