scBit

fnuint scBit(scope const ref ubyte[32] s, int i) pure nothrow @safe @nogc

Extracts one bit of a little-endian scalar.

Parameters

sScalar bytes.
iBit index, counted from the least significant bit.

Returns

The bit value, zero or one.