Class RecyclableMemoryStreamFactory
A factory for creating memory streams using a recyclable pool of MemoryStream instances
Inheritance
RecyclableMemoryStreamFactory
Assembly: OpenSearch.Net.dll
Syntax
public class RecyclableMemoryStreamFactory : IMemoryStreamFactory
Constructors
|
Edit this page
View Source
RecyclableMemoryStreamFactory()
Declaration
public RecyclableMemoryStreamFactory()
Properties
|
Edit this page
View Source
Default
Declaration
public static RecyclableMemoryStreamFactory Default { get; }
Property Value
Methods
|
Edit this page
View Source
Create()
Declaration
public MemoryStream Create()
Returns
|
Edit this page
View Source
Create(byte[])
Creates a memory stream with the bytes written to the stream
Declaration
public MemoryStream Create(byte[] bytes)
Parameters
Type |
Name |
Description |
byte[] |
bytes |
|
Returns
|
Edit this page
View Source
Create(byte[], int, int)
Creates a memory stream with the bytes written to the stream
Declaration
public MemoryStream Create(byte[] bytes, int index, int count)
Parameters
Type |
Name |
Description |
byte[] |
bytes |
|
int |
index |
|
int |
count |
|
Returns
Implements
Extension Methods