Closed vweevers closed 6 years ago
While writing docs I realized there's a gap in the tests. It doesn't test what happens to a Buffer when you get it with asBuffer: false (should be a Uint8Array if a value, and a ArrayBuffer if a key).
Buffer
get
asBuffer: false
Uint8Array
ArrayBuffer
In addition, there should be a test to put an ArrayBuffer and get it with asBuffer: true.
put
asBuffer: true
While writing docs I realized there's a gap in the tests. It doesn't test what happens to a
Buffer
when youget
it withasBuffer: false
(should be aUint8Array
if a value, and aArrayBuffer
if a key).