SetOddParity

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).

Synopsis

void SetOddParity(
unsigned char * string,
unsigned int count);
Parameter Description
string Input/output, binary data to convert
count Length of 'string'