Interface IMemoryStreamFactory
A factory for creating memory streams
Namespace: OpenSearch .Net
Assembly: OpenSearch.Net.dll
Syntax
public interface IMemoryStreamFactory
Methods
| Edit this page View SourceCreate()
Creates a memory stream
Declaration
MemoryStream Create()
Returns
Type | Description |
---|---|
Memory |
Create(byte[])
Creates a memory stream with the bytes written to the stream
Declaration
MemoryStream Create(byte[] bytes)
Parameters
Type | Name | Description |
---|---|---|
byte[] | bytes |
Returns
Type | Description |
---|---|
Memory |
Create(byte[], int, int)
Creates a memory stream with the bytes written to the stream
Declaration
MemoryStream Create(byte[] bytes, int index, int count)
Parameters
Returns
Type | Description |
---|---|
Memory |