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.172 -- Release Build+241430fabc9f8d815f226ef82f939af6835b2b48
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