stbl
stbl - string table functions
.
.
Write a single string table entry to a RIFFIOFile.
RIFFIOSuccess
NIFFIOStblWrite(NIFFIOFile *pnf,
RIFFIOChunk *pchunkSTBL,
NIFFIOStbl *pstbl)
T <*pchunkSTBL> must be newly created by RIFFIOChunkCreate() and not
yet finalized by RIFFIOChunkFinalize().
Writes < pstbl->str > (including its terminating NUL character) to
a string table chunk <*pchunkSTBL> in the NIFFIOFile <*pnf>.
Writing takes place at the current file position.
Calculates the string offset from pchunkSTBL's data offset and
returns it in <pstbl->offset>.
RIFFIO_RESULT_OK on success.