nn::math::GetBits Function
template <typename T>
T GetBits(
bit32 v,
int pos,
int len
);
template <typename T>
T GetBits(
bit64 v,
int pos,
int len
);
GetBits(bit32, int, int)
|
Gets a bit string. |
GetBits(bit64, int, int)
|
Gets a bit string. |
GetBits(bit32, int, int)Extracts the number of bits given by len, starting from the bit given by pos ([pos+len-1,pos]) from the low-order bits of v. The bit position in v given by pos is taken as the 0th bit.
GetBits(bit64, int, int)Extracts the number of bits given by len, starting from the bit given by pos ([pos+len-1,pos]) from the low-order bits of v. The bit position in v given by pos is taken as the 0th bit.
CONFIDENTIAL