mecca ~master (2021-09-12T14:37:04Z)
Dub
Repo
createBitMask
mecca
lib
integers
Create a mask with
bits
set bits
@
notrace
T
createBitMask
(
T
=
ulong
)
(
uint
numBits
)
if
(
isIntegral
!
T
&&
isUnsigned
!
T
)
Meta
Source
See Implementation
mecca
lib
integers
aliases
NetS16
NetS32
NetS64
NetS8
NetU16
NetU32
NetU64
NetU8
S16
S32
S64
S8
Serial16
Serial32
Serial8
U16
U32
U64
U8
functions
bitComplement
bitsInValue
bswap
createBitMask
manifest constants
hostOrder
networkOrder
structs
Integer
SerialInteger
Create a mask with bits set bits