Bitmap.wordAt

ulong wordAt(size_t w) const @safe pure nothrow

The w-th word of the logical bitstream: the bits of the visible range starting at w * 64, assembled from one or two storage words. The r != 0 guard is mandatory — a runtime shift by 64 is not zero on x86 (fact 6).

Parameters

wlogical word index (0 .. (length + 63) / 64)

Returns

the logical word, zero-filled beyond the storage.