Search Results for

    Show / Hide Table of Contents

    Class MemoryStreamFactory

    A factory for creating memory streams using instances of MemoryStream

    Inheritance
    object
    MemoryStreamFactory
    Implements
    IMemoryStreamFactory
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: OpenSearch.Net
    Assembly: OpenSearch.Net.dll
    Syntax
    public class MemoryStreamFactory : IMemoryStreamFactory

    Properties

    | Edit this page View Source

    Default

    Declaration
    public static MemoryStreamFactory Default { get; }
    Property Value
    Type Description
    MemoryStreamFactory

    Methods

    | Edit this page View Source

    Create()

    Creates a memory stream

    Declaration
    public MemoryStream Create()
    Returns
    Type Description
    MemoryStream
    | 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
    Type Description
    MemoryStream
    | 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
    Type Description
    MemoryStream

    Implements

    IMemoryStreamFactory

    Extension Methods

    SuffixExtensions.Suffix(object, string)
    • Edit this page
    • View Source
    In this article
    • Properties
      • Default
    • Methods
      • Create()
      • Create(byte[])
      • Create(byte[], int, int)
    • Implements
    • Extension Methods
    Back to top Generated by DocFX