Writes the content of a bit array to the stream.

Namespace: MonoSoftware.Core
Assembly: MonoSoftware.Core (in MonoSoftware.Core.dll) Version: 1.0.40.669 (1.0.40.669)

Syntax

C#
public static void WriteToEnd(
	this Stream stream,
	byte[] content
)
Visual Basic
<ExtensionAttribute> 
Public Shared Sub WriteToEnd ( 
	stream As Stream,
	content As Byte()
)
Visual C++
public:
[ExtensionAttribute]
static void WriteToEnd(
	Stream^ stream, 
	array<unsigned char>^ content
)
F#
static member WriteToEnd : 
        stream : Stream * 
        content : byte[] -> unit 

Parameters

stream
Type: System.IO..::..Stream
Stream.
content
Type: array<System..::..Byte>[]()[][]
Array holding the content to be written.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Stream. 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