def encode.go

bend-kit-http2@0.4.0.0 · huffman.bend:1185

import bend-kit-http2@0.4.0.0/huffman.bend as Huffman
import Base

1185def encode.go(s: String, st: Builder) -> Builder:
1186  match s:
1187    case SNil{}:
1188      st
1189    case SCon{Chr{c}, t}:
1190      encode.go(t, emit.code(code(c), st))

Uses (5)

Used by (1)