Fork me on GitHub
  • API

    Show / Hide Table of Contents

    Class OutputStreamDataOutput

    A DataOutput wrapping a plain System.IO.Stream.

    Inheritance
    System.Object
    DataOutput
    OutputStreamDataOutput
    Implements
    System.IDisposable
    Inherited Members
    DataOutput.WriteBytes(Byte[], Int32)
    DataOutput.WriteInt32(Int32)
    DataOutput.WriteInt16(Int16)
    DataOutput.WriteVInt32(Int32)
    DataOutput.WriteInt64(Int64)
    DataOutput.WriteVInt64(Int64)
    DataOutput.WriteString(String)
    DataOutput.CopyBytes(DataInput, Int64)
    DataOutput.WriteStringStringMap(IDictionary<String, String>)
    DataOutput.WriteStringSet(ISet<String>)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Lucene.Net.Store
    Assembly: Lucene.Net.dll
    Syntax
    public class OutputStreamDataOutput : DataOutput, IDisposable

    Constructors

    | Improve this Doc View Source

    OutputStreamDataOutput(Stream)

    Declaration
    public OutputStreamDataOutput(Stream os)
    Parameters
    Type Name Description
    System.IO.Stream os

    Methods

    | Improve this Doc View Source

    Dispose()

    Releases all resources used by the OutputStreamDataOutput.

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    Releases resources used by the OutputStreamDataOutput and if overridden in a derived class, optionally releases unmanaged resources.

    Declaration
    protected virtual void Dispose(bool disposing)
    Parameters
    Type Name Description
    System.Boolean disposing

    true to release both managed and unmanaged resources; false to release only unmanaged resources.

    | Improve this Doc View Source

    WriteByte(Byte)

    Declaration
    public override void WriteByte(byte b)
    Parameters
    Type Name Description
    System.Byte b
    Overrides
    DataOutput.WriteByte(Byte)
    | Improve this Doc View Source

    WriteBytes(Byte[], Int32, Int32)

    Declaration
    public override void WriteBytes(byte[] b, int offset, int length)
    Parameters
    Type Name Description
    System.Byte[] b
    System.Int32 offset
    System.Int32 length
    Overrides
    DataOutput.WriteBytes(Byte[], Int32, Int32)

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Copyright © 2020 The Apache Software Foundation, Licensed under the Apache License, Version 2.0
    Apache Lucene.Net, Lucene.Net, Apache, the Apache feather logo, and the Apache Lucene.Net project logo are trademarks of The Apache Software Foundation.
    All other marks mentioned may be trademarks or registered trademarks of their respective owners.