System::IO::Stream::CopyTo method

Stream::CopyTo(const SharedPtr<Stream>&) method

Copies bytes to the specified stream.

void System::IO::Stream::CopyTo(const SharedPtr<Stream> &destination)
ParameterTypeDescription
destinationconst SharedPtr<Stream>&Stream to which data will be copied.

See Also

Stream::CopyTo(const SharedPtr<Stream>&, int32_t) method

Copies bytes to the specified stream, using the specified buffer size.

void System::IO::Stream::CopyTo(const SharedPtr<Stream> &destination, int32_t buffer_size)
ParameterTypeDescription
destinationconst SharedPtr<Stream>&Stream to which data will be copied.
buffer_sizeint32_tSize of the buffer.

See Also