int CopyFromStream(File * pstream, int byteSize);
CopyFromStream appends another file data from a stream. Returns -1 for error, else number of bytes written.
Parameters |
Description |
File * pstream |
Pointer to the stream from which file data is to be copied. |
int byteSize |
Size of file in bytes. |
An int value containing the number of bytes written.