@mmavipc using a char* char[] etc causes abberant behavior with many libraries that treat char* as strings (sometimes with ASCII/UTF8/etc encoding) and not as blobs. Additionally, it is a standard to consider a char* as character data whereas unsigned char* is used for binary data.