-
-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
binary encoding vs. asBuffer #83
Comments
The
The
TBD, to be discussed elsewhere.
IMO the non-standard |
See also Level/level-js#58 |
I'm wondering what the exact purpose of the asBuffer option is (and it's cousins keyAsBuffer and valueAsBuffer). To me it feels redundant since one can use keyEncoding
binary
and/or valueEncodingbinary
.I wonder what to do when using IndexedDB as a backend which has support for native JS types as values and supports some different types for keys (Level/level-js#48). I know in level.js they even have a
raw
option. I can't really tell the difference between encoding, asBuffer and raw./cc @nolanlawson
The text was updated successfully, but these errors were encountered: