BigUIntView.smallRightShiftInPlace

Shifts right using at most size_t.sizeof * 8 - 1 bits

struct BigUIntView(W, WordEndian endian = TargetEndian)
void
smallRightShiftInPlace
()
(
uint shift
)
if (
__traits(isUnsigned, W)
)

Examples

auto a = BigUIntView!size_t.fromHexString("afbbfae3cd0aff2714a1de7022b0029d");
a.smallRightShiftInPlace(4);
assert(a == BigUIntView!size_t.fromHexString("afbbfae3cd0aff2714a1de7022b0029"));

Meta