(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/iffparse.h>

LONG WriteChunkBytes (iff , buf , numBytes)

LOCATION
In IFFParseBase at offset 11

SYNOPSIS
struct IFFHandle * iff
APTR buf
LONG numBytes

FUNCTION
Writes given number of bytes in the supplied buffer into the current chunk. Attempts to write past the endo of the chunk will be truncated.

INPUTS
iff
pointer to IFFHandle struct.
buf
buffer with data to write.
numBytes
number of bytes to write.

RESULT
actual - (positive) number of bytes actually written. (negative) IFFERR_#? indicating unsuccesfull write.

EXAMPLE

SEE ALSO
PushChunk(), PopChunk(), WriteChunkRecords()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen