scBit
fn
uint scBit(scope const ref ubyte[32] s, int i) pure nothrow @safe @nogcExtracts one bit of a little-endian scalar.
Parameters
s | Scalar bytes. |
i | Bit index, counted from the least significant bit. |
Returns
The bit value, zero or one.