# PooledBufferStream.PooledBufferStream(int)

[Type overview](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.adaptors.pooledbufferstream/) | [Constructors](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.adaptors.pooledbufferstream/constructors/)

[Source](https://github.com/dotnet/orleans/blob/e4e752cedecc2976811db49802c7a999b1f1c704/src/Orleans.Serialization/Buffers/Adaptors/PooledBufferStream.cs#L32-L37)

```csharp
public PooledBufferStream(int minAllocationSize = 0)
```

Initializes a new instance of the [PooledBufferStream](/orleans/docs/api/csharp/microsoft.orleans.serialization/orleans.serialization.buffers.adaptors.pooledbufferstream/) class.

### Parameters

- `minAllocationSize` (`int`): Minimum size of the allocation.
