Initializes a new instance of the
MultiBufferMemoryStream class with the specified buffer manager.
Namespace: Microsoft.WindowsAzure.Storage.Core
Assembly: Microsoft.WindowsAzure.Storage (in Microsoft.WindowsAzure.Storage.dll)
Usage
Visual Basic |
---|
Dim bufferManager As IBufferManager
Dim bufferSize As Integer
Dim instance As New MultiBufferMemoryStream(bufferManager, bufferSize) |
Syntax
Visual Basic |
---|
Public Sub New ( _
bufferManager As IBufferManager, _
<OptionalAttribute> Optional bufferSize As Integer = 65536 _
) |
C# |
---|
public MultiBufferMemoryStream (
IBufferManager bufferManager,
[OptionalAttribute] int bufferSize
) |
C++ |
---|
public:
MultiBufferMemoryStream (
IBufferManager^ bufferManager,
[OptionalAttribute] int bufferSize
) |
J# |
---|
public MultiBufferMemoryStream (
IBufferManager bufferManager,
/** @attribute OptionalAttribute() */ int bufferSize
) |
JScript |
---|
public function MultiBufferMemoryStream (
bufferManager : IBufferManager,
bufferSize : int
) |
Parameters
- bufferManager
The IBufferManager to use to acquire and return buffers for the stream. May be null
.
- bufferSize
The buffer size to use for each block. The default size is 64 KB. Note that this parameter is disregarded when an IBufferManager is specified.
Remarks
Platforms
See Also