Encode the array of hfzExtHeaderBlock structs in a hfzHeader struct (see pExtHeaderBlocks member) into a byte array.
long hfzHeader_EncodeExtHeaderBuf(hfzHeader &fh, char** ppBuf);
Name | Type | Comment |
---|---|---|
fh | hfzHeader& | The hfzHeader struct containing the initialised array of hfzExtHeaderBlock structs (see pExtHeaderBlocks member) that shall be compiled into a byte array. |
pBuf | char* | A handle to an uninitialised raw byte pointer, which shall be initialised and filled with the extended header by array by this function. |
The number of bytes taken by the compiled extended header (if 0 or greater), or otherwise an error code. Use hfzGetErrorStr to retrieve the error description.