File::Write

File::Write
virtual int Write(const UByte * pbufer, int numBytes) = 0;
Description

Write writes in the given number of bytes or less to the stream.

Parameters
Parameters 
Description 
const UByte * pbufer 
Pointer to the buffer to write to. 
int numBytes 
Number of bytes to be written. 
Return Value

An int value containing the number of bytes written, -1 for error. If 0 or < numBytes , no more bytes available; end of file or the other side of stream is closed.