Gemstone Common Library
Show/Hide TOC

# BlockAllocatedMemoryStream(Int32) Constructor

Initializes a new instance of BlockAllocatedMemoryStream for specified capacity.

## Definition

Namespace: Gemstone.IO
Assembly: Gemstone.Common (in Gemstone.Common.dll) Version: 1.0.143 -- Release Build+524337d392fd5616b12b50022b004322b9e7c330
C#
View Source Request Example

    public BlockAllocatedMemoryStream(
    	int capacity
    )

VB
View Source Request Example

    Public Sub New (
    	capacity As Integer
    )

C++
View Source Request Example

    public:
    BlockAllocatedMemoryStream(
    	int capacity
    )

JavaScript
View Source Request Example

    Gemstone.IO.BlockAllocatedMemoryStream = function(capacity);

#### Parameters

capacity Int32
  Initial length of the stream.

## See Also

#### Reference

BlockAllocatedMemoryStream Class
BlockAllocatedMemoryStream Overload
Gemstone.IO Namespace