[]
Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.
long CopyTo(IStream streamDest, long numberOfBytesToCopy, out long bytesWritten)
Function CopyTo(streamDest As IStream, numberOfBytesToCopy As Long, ByRef bytesWritten As Long) As Long
| Type | Name | Description |
|---|---|---|
| IStream | streamDest | The stream destination. |
| long | numberOfBytesToCopy | The number of bytes to copy. |
| long | bytesWritten | The number of bytes written. |
| Type | Description |
|---|---|
| long | The number of bytes read |