def encode

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

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

1212# HPACK text is a byte string: code points above 255 are rejected.
1213def encode(+s: String) -> Maybe<&1, Bytes.Bytes>:
1214  encode.ready(s, size(s, 0))

Uses (5)

Used by (1)