VPackByteToBit - packs byte data into bit string.
VPackByteToBit(idata, nbytes, odata)
unsigned char *idata;
unsigned char *odata; /*RETURN*/
VPackByteToBit packs byte data into a bit string. If the value of byte is
not 0, the corresponding bit is set to 1, else it is set to 0. The packing
order used by VPackByteToBit is most significant bit first.
0 - work successfully.
idata - specifies an array of data to be packed.
nbytes - specifies the number of bytes to be packed.
odata - returns an array of 1-bit packed data.
If idata or odata is NULL, or nbytes is less than or equal to zero,
VPackByteToBit prints an error message to the standard error stream,
produces a core dump file and exits from the current process.