Class ByteSliceReader
IndexInput that knows how to read the byte slices written by Posting and PostingVector. We read the bytes in each slice until we hit the end of that slice at which point we read the forwarding address of the next slice and then jump to it.
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.Index
Assembly: Lucene.Net.dll
Syntax
public sealed class ByteSliceReader : DataInputProperties
| Improve this Doc View SourceBufferOffset
Declaration
public int BufferOffset { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
EndIndex
Declaration
public int EndIndex { get; }Property Value
| Type | Description | 
|---|---|
| System.Int32 | 
Methods
| Improve this Doc View SourceEof()
Declaration
public bool Eof()Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Init(ByteBlockPool, Int32, Int32)
Declaration
public void Init(ByteBlockPool pool, int startIndex, int endIndex)Parameters
| Type | Name | Description | 
|---|---|---|
| ByteBlockPool | pool | |
| System.Int32 | startIndex | |
| System.Int32 | endIndex | 
NextSlice()
Declaration
public void NextSlice()ReadByte()
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 SourceWriteTo(DataOutput)
Declaration
public long WriteTo(DataOutput out)Parameters
| Type | Name | Description | 
|---|---|---|
| DataOutput | out | 
Returns
| Type | Description | 
|---|---|
| System.Int64 |