SyncMemoryStream Constructors

Definition

Overloads

SyncMemoryStream()

Initializes a new instance of the SyncMemoryStream class with an expandable capacity initialized to zero.

SyncMemoryStream(Byte[])

Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified byte array.

SyncMemoryStream(Byte[], Int32)

Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified region (index) of a byte array.

SyncMemoryStream(Byte[], Int32, Int32)

Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified region (index) of a byte array.

SyncMemoryStream()

Initializes a new instance of the SyncMemoryStream class with an expandable capacity initialized to zero.

public SyncMemoryStream ();
Public Sub New ()

Applies to

SyncMemoryStream(Byte[])

Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified byte array.

public SyncMemoryStream (byte[] buffer);
new Microsoft.Azure.Storage.Core.SyncMemoryStream : byte[] -> Microsoft.Azure.Storage.Core.SyncMemoryStream
Public Sub New (buffer As Byte())

Parameters

buffer
Byte[]

The array of unsigned bytes from which to create the current stream.

Applies to

SyncMemoryStream(Byte[], Int32)

Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified region (index) of a byte array.

public SyncMemoryStream (byte[] buffer, int index);
new Microsoft.Azure.Storage.Core.SyncMemoryStream : byte[] * int -> Microsoft.Azure.Storage.Core.SyncMemoryStream
Public Sub New (buffer As Byte(), index As Integer)

Parameters

buffer
Byte[]

The array of unsigned bytes from which to create the current stream.

index
Int32

The index into buffer at which the stream begins.

Applies to

SyncMemoryStream(Byte[], Int32, Int32)

Initializes a new non-resizable instance of the SyncMemoryStream class based on the specified region (index) of a byte array.

public SyncMemoryStream (byte[] buffer, int index, int count);
new Microsoft.Azure.Storage.Core.SyncMemoryStream : byte[] * int * int -> Microsoft.Azure.Storage.Core.SyncMemoryStream
Public Sub New (buffer As Byte(), index As Integer, count As Integer)

Parameters

buffer
Byte[]

The array of unsigned bytes from which to create the current stream.

index
Int32

The index into buffer at which the stream begins.

count
Int32

The length of the stream in bytes.

Applies to