[]
Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.
public long CopyTo(IStream streamDest, long numberOfBytesToCopy, out long bytesWritten)
Public 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 bytes written. |
| Type | Description |
|---|---|
| long | The number of bytes read from this instance |