Class Int32BlockPool.SliceReader
A Int32BlockPool.SliceReader that can read System.Int32 slices written by a Int32BlockPool.SliceWriter.
This is a Lucene.NET INTERNAL API, use at your own risk
Inheritance
System.Object
    Int32BlockPool.SliceReader
  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.Util
Assembly: Lucene.Net.dll
Syntax
public sealed class SliceReaderConstructors
| Improve this Doc View SourceSliceReader(Int32BlockPool)
Creates a new Int32BlockPool.SliceReader on the given pool.
Declaration
public SliceReader(Int32BlockPool pool)Parameters
| Type | Name | Description | 
|---|---|---|
| Int32BlockPool | pool | 
Properties
| Improve this Doc View SourceIsEndOfSlice
Returns true if the current slice is fully read. If this
method returns true ReadInt32() should not
be called again on this slice.
Declaration
public bool IsEndOfSlice { get; }Property Value
| Type | Description | 
|---|---|
| System.Boolean | 
Methods
| Improve this Doc View SourceReadInt32()
Reads the next System.Int32 from the current slice and returns it.
NOTE: This was readInt() in Lucene
Declaration
public int ReadInt32()Returns
| Type | Description | 
|---|---|
| System.Int32 | 
See Also
| Improve this Doc View SourceReset(Int32, Int32)
Resets the reader to a slice give the slices absolute start and end offset in the pool.
Declaration
public void Reset(int startOffset, int endOffset)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Int32 | startOffset | |
| System.Int32 | endOffset |