Retrieve a new
MemoryStream
object with the provided string encoded as UTF8.
- Namespace
- Statiq
.Common - Containing Type
- IMemoryStreamFactory
Syntax
MemoryStream GetStream(string content)
Parameters
Name | Type | Description |
---|---|---|
content | string | The string to encode and store in the memory stream. |
Return Value
Type | Description |
---|---|
MemoryStream | A MemoryStream . |