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.159 -- Release Build+a612c25bc0e1c87e5766544ec4650d2ebcfddcf4
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