public static class LeveldbUtils.KeyParser extends Object
Constructor and Description |
---|
KeyParser(byte[] b,
int offset) |
Modifier and Type | Method and Description |
---|---|
long |
getNextLong()
Read the next 8 bytes in the byte buffer as a long.
|
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 String getNextString() throws IOException
IOException
public void skipNextString() throws IOException
IOException
public long getNextLong() throws IOException
IOException
public int getOffset()
public byte[] getRemainingBytes()
Copyright © 2008–2023 Apache Software Foundation. All rights reserved.