[Overview][Constants][Types][Classes][Procedures and functions][Variables] |
Copy data from one stream to another
CopyFrom reads Count bytes from Source and writes them to the current stream. This updates the current position in the stream. After the action is completed, the number of bytes copied is returned.
This can be used to quickly copy data from one stream to another or to copy the whole contents of the stream.
|
Reads data from the stream to a buffer and returns the number of bytes read. |
|
|
Writes data from the stream to the buffer and returns the number of bytes written. |