SetOddParity
Synopsis
void SetOddParity(
unsigned char * string,
unsigned int count);
Description
Converts a buffer of binary data to 'odd' parity.
For each byte in 'string' this function will flip the least significant bit, if necessary, to make the number of one bits in the entire byte an odd number (odd parity).
Parameters
string |
Input/output, binary data to convert |
count |
Length of 'string' |