def Writer.lsb

bend-kit-bits@0.1.0.1 · bits.bend:161

import bend-kit-bits@0.1.0.1/bits.bend as Bits
import Base

161# Appends the low n bits of v (n is cut to 32). LSB-first sends v's lowest bit first;
162# MSB-first sends bit n - 1 first.
163def Writer.lsb(w: Writer, +n: U32, +v: U32) -> Writer:
164  write(False{}, w, n, v)

Uses (4)

Used by (6)