Home >

ProtectToolkit-C Programming Guide > HEX2BIN.H Library Reference > isOddParity

isOddParity

Synopsis

int isOddParity(
const unsigned char * string,
unsigned int count);

Description

This function checks the parity of the supplied data and returns 1 if buffer contains bytes that are all of odd parity.

Parameters

string

Input, binary data to check

count

Input, length of 'string'