Example usage for Java org.apache.lucene.store DataInput fields, constructors, methods, implement or subclass
The text is from its open source code.
byte | readByte() Reads and returns a single byte. |
void | readBytes(byte[] b, int offset, int len) Reads a specified number of bytes into an array at the specified offset. |
void | readBytes(byte[] b, int offset, int len, boolean useBuffer) Reads a specified number of bytes into an array at the specified offset with control over whether the read should be buffered (callers who have their own buffer should pass in "false" for useBuffer). |
int | readInt() Reads four bytes and returns an int. |
long | readLong() Reads eight bytes and returns a long. |
String | readString() Reads a string. |
int | readVInt() Reads an int stored in variable-length format. |
long | readVLong() Reads a long stored in variable-length format. |
int | readZInt() Read a BitUtil#zigZagDecode(int) zig-zag -encoded #readVInt() variable-length integer. |
void | skipBytes(final long numBytes) Skip over numBytes bytes. |