nw::ut::BitExtract Function
template <typename OutputT>
OutputT BitExtract(
OutputT bits,
int pos,
int len = 1
);
| Name | Description | |
|---|---|---|
| in | bits | Original bit string |
| in | pos | Position of the lowest order bit of the bit string to be extracted from bits |
| in | len | Bit length to be extracted |
Extracts a partial bit string from the specified bit string.
CONFIDENTIAL