FileStreamExtensionsCopyTo Method

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

Definition

Namespace: DevCase.Extensions.FileStreamExtensions
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(
	FileStream source,
	Stream destination,
	long startPosition,
	long count
)

Parameters

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

Example

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

See Also