Home > |
---|
void SetOddParity(
unsigned char * string,
unsigned int count);
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).
string |
Input/output, binary data to convert |
count |
Length of 'string' |