level icon indicating copy to clipboard operation
level copied to clipboard

Сorrect way to read keys and values

Open mortinlojen3030 opened this issue 1 year ago • 1 comments

When I go through the keys and values: for await (const [key, value] of db.iterator()) { } I get keys like: _file://addresses In bytes: [95, 102, 105, 108, 101, 58, 47, 47, 0, 1, 97, 100, 100, 114, 101, 115, 115, 101, 115] And the values always start with: [1] How can i read db correctly?

mortinlojen3030 avatar Mar 02 '24 07:03 mortinlojen3030

That looks like you're trying to read a third-party database with a custom key format, which we can't help you with.

vweevers avatar Mar 02 '24 09:03 vweevers