Class MockIndexInput
backed by a byte[] for testing.
Inheritance
System.Object
MockIndexInput
Assembly: Lucene.Net.TestFramework.dll
public class MockIndexInput : BufferedIndexInput
Constructors
|
Improve this Doc
View Source
Declaration
public MockIndexInput(byte[] bytes)
Parameters
Type |
Name |
Description |
System.Byte[] |
bytes |
|
Properties
|
Improve this Doc
View Source
Declaration
public override long Length { get; }
Property Value
Type |
Description |
System.Int64 |
|
Methods
|
Improve this Doc
View Source
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
System.Boolean |
disposing |
|
|
Improve this Doc
View Source
Declaration
protected override void ReadInternal(byte[] dest, int destOffset, int len)
Parameters
Type |
Name |
Description |
System.Byte[] |
dest |
|
System.Int32 |
destOffset |
|
System.Int32 |
len |
|
|
Improve this Doc
View Source
Declaration
protected override void SeekInternal(long pos)
Parameters
Type |
Name |
Description |
System.Int64 |
pos |
|