hex.input_as_hex (arity 3)

hex[:n] = hex_from_ascii(input(n-bytes))
*supports 0-9,a-f,A-F. if can’t cast, jumps to error.

Signature

def input_as_hex n, hex, error { ... }

Defined in hex/input.fj — lines 92–94 (view on GitHub).

Complexity

  • Time: n(7@+11)

  • Space: n(8.5@+92)

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

Source


← Previous: hex.input_as_hex/2 Next: hex.input_dec_uint_until