MultiBufferMemoryStream.Write Method

Windows Runtime Azure Storage Client Library

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

Namespace: Microsoft.WindowsAzure.Storage.Core
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)

Usage

Visual Basic
Dim instance As MultiBufferMemoryStream
Dim buffer As Byte()
Dim offset As Integer
Dim count As Integer

instance.Write(buffer, offset, count)

Syntax

Visual Basic
Public Overrides Sub Write ( _
	buffer As Byte(), _
	offset As Integer, _
	count As Integer _
)
C#
public override void Write (
	byte[] buffer,
	int offset,
	int count
)
C++
public:
virtual void Write (
	array<unsigned char>^ buffer, 
	int offset, 
	int count
) override
J#
public void Write (
	byte[] buffer, 
	int offset, 
	int count
)
JScript
public override function Write (
	buffer : byte[], 
	offset : int, 
	count : int
)

Parameters

buffer

The buffer to write data from.

offset

The zero-based byte offset in buffer at which to begin copying bytes to the current stream.

count

The number of bytes to write.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also