Q3RawData_Write
You can use theQ3RawData_Writefunction to write raw data to a file object.
TQ3Status Q3RawData_Write ( const unsigned char *data, unsigned long size, TQ3FileObject file);
data- On entry, a pointer to a buffer of raw data whose length is of the specified size.
size- On entry, the number of bytes of raw data to be read from the specified buffer and written to the specified file object. On exit, the number of bytes actually written to the file object.
file- A file object.
DESCRIPTION
TheQ3RawData_Writefunction writes the raw data pointed to by thedataparameter to the file object specified by thefileparameter. The number of bytes written to the file object is equal toQ3Size_Pad(size). If the number of bytes written to the file object is greater thansize,Q3RawData_Writepads the data to the nearest 4-byte boundary with 0's.In text files, raw data is output in hexadecimal form.