windowWord

private fnulong windowWord(const Bitmap bm, size_t start, size_t n) @safe pure nothrow

The packed word of n bits of bm starting at start, LSB-first; the sentinel validity (no nulls) reads as all-ones, and the bits past n are cleared.

Parameters

bmthe bitmap window (possibly the sentinel)
startthe first bit of the window
nthe number of bits (0 .. 64)

Returns

the packed window word.