Retrieve a new
MemoryStream object with at least the given capacity.
- Namespace
- Statiq
.Common - Containing Type
- IMemoryStreamFactory
Syntax
MemoryStream GetStream(int requiredSize)
Parameters
| Name | Type | Description |
|---|---|---|
| requiredSize | int | The minimum desired capacity for the stream. |
Return Value
| Type | Description |
|---|---|
| MemoryStream | A MemoryStream. |