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.176 -- Release Build+c74560d581224bfee7a285d73926fb4fb3df8ece
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