|
noexcept |
Inverts a bit order within a vector.
[in,out] | pBuf | Points to data with a bit order to inverse. |
cbBuf | Size of the data, in bytes. |
Unlike mirror_bits_kbo_inplace
, this function inverts both the byte and bit order of the data.
The mirror_bits and mirror_bits_copy functions allow to inverse bits order with copying of the result to a possibly another destination buffer while keeping the original data unchanged.