bit.input_bit

input one bit into the bit-variable, ‘dst’.
dst is an output parameter.

Signature

def input_bit dst < stl.IO { ... }

Defined in bit/input.fj — lines 9–12 (view on GitHub).

Complexity

  • Time: 2@-2

  • Space: 2@-2

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

Source

Depends on


Next: bit.input/1