MemoryFile::CopyFromStream

MemoryFile::CopyFromStream
int CopyFromStream(File * pstream, int byteSize);
Description

CopyFromStream appends another file data from a stream. Returns -1 for error, else number of bytes written.

Parameters
Parameters 
Description 
File * pstream 
Pointer to the stream from which file data is to be copied. 
int byteSize 
Size of file in bytes. 
Return Value

An int value containing the number of bytes written.