====== hfzWrite ====== ===== Description ===== Write bytes to a HF2/HFZ file. ===== Function prototype ===== long hfzWrite(hfzFile* fs, void* pData, long len); ===== Arguments ===== ^ Name ^ Type ^ Description ^ | fs | hfzFile* | A handle to an open hfzFile struct (see [[#hfzOpen]]). | | pData | void* | A handle to the data to be written. | | len | long | The number of bytes to be written. | ===== Return value ===== The number of bytes written (if positive), or else an error code (if negative). Use [[libhfz:functions:hfzGetErrorStr]] to retrieve the error description. ===== Comments ===== None.