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.
Inheritance
System.Object
ByteSliceReader
Assembly: Lucene.Net.dll
Syntax
public sealed class ByteSliceReader : DataInput
Properties
|
Improve this Doc
View Source
BufferOffset
Declaration
public int BufferOffset { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
EndIndex
Declaration
public int EndIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
|
Improve this Doc
View Source
Eof()
Declaration
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
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 |
|
|
Improve this Doc
View Source
NextSlice()
Declaration
|
Improve this Doc
View Source
ReadByte()
Declaration
public override byte ReadByte()
Returns
Type |
Description |
System.Byte |
|
Overrides
|
Improve this Doc
View Source
ReadBytes(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 Source
WriteTo(DataOutput)
Declaration
public long WriteTo(DataOutput out)
Parameters
Returns
Type |
Description |
System.Int64 |
|