def decode.kind

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

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

444def decode.kind(+first: U32) -> U32:
445  Bool.pick(U32, U32.is_ne((first .&. 128 : U32), 0), 0,
446    Bool.pick(U32, U32.is_ne((first .&. 64 : U32), 0), 1,
447      Bool.pick(U32, U32.is_ne((first .&. 32 : U32), 0), 2, 3)))

Uses (4)

Used by (1)