stl.bit2hex (arity 3)¶

hex[:(n+3)/4] = bit[:n]

n is a size-constant, hex is a hex.vec (n+3)/4, bit is a bit.vec n.

Signature¶

def bit2hex n, hex, bit { ... }

Defined in casting.fj — lines 22–25 (view on GitHub).

Complexity¶

  • Time: n(1.25@-1)

  • Space: n(1.25@+2)

See the complexity glossary for what @, w, dw, dbit, n mean.

Depends on¶