Hi,
Im not getting correct length of keys string to read, can someone please help with this.
Hey @akhil-lakka, you can set debug: true
in codecrafters.yml to reveal a hexdump of the RDB file.
I’m not sure why byteValue+1 is used here:
String finalByteVal = Integer.toHexString(byteValue+1);
In the screenshot above, 250 is fa
in hex, which indicates an auxiliary field containing two strings: a key and a value.
Let me know if you’d like further clarification!
Closing this thread due to inactivity. If you still need assistance, feel free to reopen or start a new discussion!
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.