the position, 0-based, of the element to mask.
the kind of the element to mask.
the value mask.
The input argument with the element masked.
// MaskKind.Byte by default. assert(mask(0x12345678,1) == 0x12340078); assert(mask!(MaskKind.Nibble)(0x12345678,1) == 0x12345608);
Masks, at run-time, a byte, a nibble or a bit in the argument.