[]
        
(Showing Draft Content)

C1.Util.DX.Storage.ComStream.CopyTo

CopyTo Method

CopyTo(IStream, long, out long)

Copies a specified number of bytes from the current seek pointer in the stream to the current seek pointer in another stream.

Declaration
public long CopyTo(IStream streamDest, long numberOfBytesToCopy, out long bytesWritten)
Parameters
Type Name Description
IStream streamDest

The stream destination.

long numberOfBytesToCopy

The number of bytes to copy.

long bytesWritten

The bytes written.

Returns
Type Description
long

The number of bytes read from this instance

Implements