Class MockIndexInput
IndexInput backed by a byte[] for testing.
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.Index
Assembly: Lucene.Net.TestFramework.dll
Syntax
public class MockIndexInput : BufferedIndexInput, IDisposable
  Constructors
| Improve this Doc View SourceMockIndexInput(Byte[])
Declaration
public MockIndexInput(byte[] bytes)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Byte[] | bytes | 
Properties
| Improve this Doc View SourceLength
Declaration
public override long Length { 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 SourceReadInternal(Byte[], Int32, Int32)
Declaration
protected override void ReadInternal(byte[] dest, int destOffset, int len)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Byte[] | dest | |
| System.Int32 | destOffset | |
| System.Int32 | len | 
Overrides
| Improve this Doc View SourceSeekInternal(Int64)
Declaration
protected override void SeekInternal(long pos)
  Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int64 | pos | 
Overrides
Implements
      System.IDisposable