Class RAMInputStream
A memory-resident IndexInput implementation.
Note
This API is for internal purposes only and might change in incompatible ways in the next release.
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)
Namespace: Lucene.Net.Store
Assembly: Lucene.Net.dll
Syntax
public class RAMInputStream : IndexInput, IDisposable
Constructors
| Improve this Doc View SourceRAMInputStream(String, RAMFile)
Declaration
public RAMInputStream(string name, RAMFile f)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | |
| RAMFile | f |
Properties
| Improve this Doc View SourceLength
Declaration
public override long Length { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
Overrides
| Improve this Doc View SourcePosition
Declaration
public override long Position { get; }
Property Value
| Type | Description |
|---|---|
| System.Int64 |
Overrides
Methods
| Improve this Doc View SourceDispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | disposing |
Overrides
| Improve this Doc View SourceReadByte()
Declaration
public override byte ReadByte()
Returns
| Type | Description |
|---|---|
| System.Byte |
Overrides
| Improve this Doc View SourceReadBytes(Byte[], Int32, Int32)
Declaration
public override void ReadBytes(byte[] b, int offset, int len)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Byte[] | b | |
| System.Int32 | offset | |
| System.Int32 | len |
Overrides
| Improve this Doc View SourceSeek(Int64)
Declaration
public override void Seek(long pos)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int64 | pos |
Overrides
Implements
System.IDisposable