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.156 -- Release Build+59006cef9614396d8b79971beebc1091829bcfe4
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