Class RAMInputStream
A memory-resident IndexInput implementation.
This is a Lucene.NET INTERNAL API, use at your own risk
Inheritance
System.Object
RAMInputStream
Assembly: Lucene.Net.dll
public class RAMInputStream : IndexInput, IDisposable
Constructors
|
Improve this Doc
View Source
Declaration
public RAMInputStream(string name, RAMFile f)
Parameters
Type |
Name |
Description |
System.String |
name |
|
RAMFile |
f |
|
Properties
|
Improve this Doc
View Source
Declaration
public override long Length { get; }
Property Value
Type |
Description |
System.Int64 |
|
Overrides
Methods
|
Improve this Doc
View Source
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override long GetFilePointer()
Returns
Type |
Description |
System.Int64 |
|
Overrides
|
Improve this Doc
View Source
Declaration
public override byte ReadByte()
Returns
Type |
Description |
System.Byte |
|
Overrides
|
Improve this Doc
View Source
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 Source
Declaration
public override void Seek(long pos)
Parameters
Type |
Name |
Description |
System.Int64 |
pos |
|
Overrides
Implements
IDisposable