Search Results for

    Show / Hide Table of Contents

    Class BinaryWriterExtensions

    Provides extension methods for IWriter.

    Inheritance
    Object
    BinaryWriterExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Microsoft.ML.Probabilistic.Serialization
    Assembly: Microsoft.ML.Probabilistic.dll
    Syntax
    public static class BinaryWriterExtensions

    Methods

    Write(IWriter, DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]>)

    Writes the specified jagged array of Gaussian distributions in binary to the stream.

    Declaration
    public static void Write(this IWriter writer, DistributionRefArray<DistributionStructArray<Gaussian, double>, double[]> gaussians)
    Parameters
    Type Name Description
    IWriter writer

    The binary writer.

    DistributionRefArray<DistributionStructArray<Gaussian, Double>, Double[]> gaussians

    The jagged array of Gaussian distributions to write to the stream.

    Write(IWriter, Gamma)

    Writes the specified Gamma distribution in binary to the stream.

    Declaration
    public static void Write(this IWriter writer, Gamma distribution)
    Parameters
    Type Name Description
    IWriter writer

    The binary writer.

    Gamma distribution

    The Gamma distribution to write to the stream.

    Write(IWriter, Gaussian)

    Writes the specified Gaussian distribution in binary to the stream.

    Declaration
    public static void Write(this IWriter writer, Gaussian distribution)
    Parameters
    Type Name Description
    IWriter writer

    The binary writer.

    Gaussian distribution

    The Gaussian distribution to write to the stream.

    Write(IWriter, IList<Gamma>)

    Writes the specified array of Gamma distributions in binary to the stream.

    Declaration
    public static void Write(this IWriter writer, IList<Gamma> array)
    Parameters
    Type Name Description
    IWriter writer

    The binary writer.

    IList<Gamma> array

    The array of Gamma distributions to write to the stream.

    Write(IWriter, IList<Gaussian>)

    Writes the specified array of Gaussian distributions in binary to the stream.

    Declaration
    public static void Write(this IWriter writer, IList<Gaussian> array)
    Parameters
    Type Name Description
    IWriter writer

    The binary writer.

    IList<Gaussian> array

    The array of Gaussian distributions to write to the stream.

    Write(IWriter, IList<Int32>)

    Writes the specified array of integers in binary to the stream.

    Declaration
    public static void Write(this IWriter writer, IList<int> array)
    Parameters
    Type Name Description
    IWriter writer

    The binary writer.

    IList<Int32> array

    The array of integers to write to the stream.

    Write(BinaryWriter, Guid)

    Writes the specified Guid in binary to the stream.

    Declaration
    public static void Write(this BinaryWriter writer, Guid guid)
    Parameters
    Type Name Description
    BinaryWriter writer

    The binary writer.

    Guid guid

    The Guid to write to the stream.

    WriteObject(BinaryWriter, Object)

    Writes the specified object in binary to the stream.

    Declaration
    public static void WriteObject(this BinaryWriter writer, object obj)
    Parameters
    Type Name Description
    BinaryWriter writer

    The binary writer.

    Object obj

    The object to write to the stream.

    In This Article
    Back to top Copyright © .NET Foundation. All rights reserved.