StreamExtensionsCopyTo Method

Reads the specified amount of bytes from the source Stream and writes them to another Stream.

Definition

Namespace: DevCase.Extensions.StreamExtensions
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static void CopyTo(
	Stream source,
	Stream destination,
	long startPosition,
	long count
)

Parameters

source  Stream
The source Stream.
destination  Stream
The Stream to which the contents of the source Stream will be copied.
startPosition  Int64
The zero-based starting position in the Stream to perform the copy.
count  Int64
The number of bytes in the source Stream to copy.

Example

This is a code example.
C#
No code example is currently available or this language may not be supported.

See Also