System.IO.UnmanagedMemoryStream.Write Method

Writes a block of bytes to the current stream using data from a buffer.

Syntax

public override void Write (byte[] buffer, int offset, int count)

Parameters

buffer
The byte array from which to copy bytes to the current stream.
offset
The offset in the buffer at which to begin copying bytes to the current stream.
count
The number of bytes to write to the current stream.

Remarks

Writing occurs at the current position in the stream.

Requirements

Namespace: System.IO
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0