public static class LeveldbUtils.KeyParser
extends java.lang.Object
| Constructor | Description |
|---|---|
KeyParser(byte[] b,
int offset) |
| Modifier and Type | Method | Description |
|---|---|---|
long |
getNextLong() |
Read the next 8 bytes in the byte buffer as a long.
|
java.lang.String |
getNextString() |
Returns a string from the offset until the next string delimiter.
|
int |
getOffset() |
|
byte[] |
getRemainingBytes() |
Returns a copy of the remaining bytes.
|
void |
skipNextString() |
Moves current position until after the next end of string marker.
|
public java.lang.String getNextString()
throws java.io.IOException
java.io.IOExceptionpublic void skipNextString()
throws java.io.IOException
java.io.IOExceptionpublic long getNextLong()
throws java.io.IOException
java.io.IOExceptionpublic int getOffset()
public byte[] getRemainingBytes()
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.