bit.print (arity 2)ΒΆ
outputs n bytes from x[:8n] (a bit vector. from lsb to msb).
SignatureΒΆ
def print n, x { ... }
Defined in bit/output.fj β lines 25β27 (view on GitHub).
ComplexityΒΆ
Time:
n(8@+16)Space:
n(8@+16)
See the complexity glossary for what @, w, dw, dbit, n mean.
SourceΒΆ
Click to view the macro body
def print n, x {
rep(n, i) .print x+8*i*dw
}
β Previous: bit.print/1
Next: bit.print_str β