You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 1, 2024. It is now read-only.
Second example I found was #412, which described binary (a string encoding format, aliasing latin1 as per nodejs documentation) somehow returning a Buffer...
I just want to put(keyBuffer, valueBuffer), get(keyBuffer, (err, valueBuffer) => {}) and it isn't entirely clear how to do that...
Is there a canonical set of examples for no string encoding and or custom encodings?
The first example I found was https://github.com/Level/levelup/blob/master/test/inject-encoding-test.js but that requires learning about
msgpack-js.Second example I found was #412, which described
binary(a string encoding format, aliasinglatin1as per nodejs documentation) somehow returning aBuffer...I just want to
put(keyBuffer, valueBuffer), get(keyBuffer, (err, valueBuffer) => {})and it isn't entirely clear how to do that...At least with a
Buffer, I could then just push it through something like https://github.com/dominictarr/varstruct for type checking.