Write bytes to a HF2/HFZ file.
long hfzWrite(hfzFile* fs, void* pData, long len);
| 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. |
The number of bytes written (if positive), or else an error code (if negative). Use hfzGetErrorStr to retrieve the error description.
None.