(C) 1998 AROS - The Amiga Research OS


NAME
#include <proto/iffparse.h>

LONG ReadChunkBytes (iff , buf , numBytes)

LOCATION
In IFFParseBase at offset 10

SYNOPSIS
struct IFFHandle * iff
APTR buf
LONG numBytes

FUNCTION
Read a number of bytes from the current chunk into a buffer. Attempts to read past the end of the chunk will be truncated.

INPUTS
iff
pointer to IFFHandle struct.
buf
pointer to a buffer into which the data will be placed.
numBtes
number of bytes to read.

RESULT
actual - (positive) the actual number of bytes read. (negative) IFFERR_#? error code if not succesfull.

EXAMPLE

SEE ALSO
ReadChunkRecords(), ParseIFF(), WriteChunkBytes()

NOTES

BUGS

INTERNALS

HISTORY
20.10.1998 hkiel
Amiga Research OS
13.02.1997 digulla
Bugfix. Loads IFF pictures now.

Added lots of debug output

03.02.1997 digulla
Iffparse.library as supplied by Nils H. Lorentzen