Click or drag to resize

MemoryStreamToolWriteStream Method (MemoryStream, Stream, Boolean)

Write a stream to another stream.

Namespace:  MicaSystems.Utils
Assembly:  MicaSystems.Utils (in MicaSystems.Utils.dll) Version: 1.0.0.0 (1.1.0.123)
Syntax
C#
public static void WriteStream(
	this MemoryStream aStream,
	Stream outputStream,
	bool closeStream
)

Parameters

aStream
Type: System.IOMemoryStream
outputStream
Type: System.IOStream
closeStream
Type: SystemBoolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MemoryStream. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also