Class OutputStreamDataOutput
A DataOutput wrapping a plain System.IO.Stream.
Implements
System.IDisposable
Inherited Members
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 SourceOutputStreamDataOutput(Stream)
Declaration
public OutputStreamDataOutput(Stream os)
Parameters
Type | Name | Description |
---|---|---|
System.IO.Stream | os |
Methods
| Improve this Doc View SourceDispose()
Releases all resources used by the OutputStreamDataOutput.
Declaration
public void Dispose()
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 |
|
WriteByte(Byte)
Declaration
public override void WriteByte(byte b)
Parameters
Type | Name | Description |
---|---|---|
System.Byte | b |
Overrides
| Improve this Doc View SourceWriteBytes(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
Implements
System.IDisposable