bit.ascii2bin¶
if ascii is '0'/'1', set bit to 0/1 (end error=0). else, set error=1.
ascii is bit[:8], and error(output-param),bin are bits.
Signature¶
def ascii2bin error, bin, ascii @ half_bin, return_error, copy_binary_value, end { ... }
Defined in bit/casting.fj — lines 69–87 (view on GitHub).
Complexity¶
Time:
17@+24Space:
17@+24
See the complexity glossary for what @, w, dw, dbit, n mean.