Class ByteArrayDataInput
DataInput backed by a byte array. WARNING: this class omits all low-level checks.
@lucene.experimental
Inherited Members
Assembly: DistributedLucene.Net.dll
Syntax
public sealed class ByteArrayDataInput : DataInput
Constructors
Name | Description |
---|---|
ByteArrayDataInput() | |
ByteArrayDataInput(Byte[]) | |
ByteArrayDataInput(Byte[], Int32, Int32) |
Properties
Name | Description |
---|---|
Eof | |
Length | |
Position |
Methods
Name | Description |
---|---|
ReadByte() | |
ReadBytes(Byte[], Int32, Int32) | |
ReadInt16() | LUCENENET NOTE: Important - always cast to ushort (System.UInt16) before using to ensure the value is positive! NOTE: this was readShort() in Lucene |
ReadInt32() | NOTE: this was readInt() in Lucene |
ReadInt64() | NOTE: this was readLong() in Lucene |
ReadVInt32() | NOTE: this was readVInt() in Lucene |
ReadVInt64() | NOTE: this was readVLong() in Lucene |
Reset(Byte[]) | |
Reset(Byte[], Int32, Int32) | |
Rewind() | NOTE: sets pos to 0, which is not right if you had called reset w/ non-zero offset!! |
SkipBytes(Int64) |