Allows Node.js Buffer objects to be persisted to storage as a Uint8Arrays that they subclass (#159)
* Allows Node.js Buffer objects to be persisted to storage as a Uint8Arrays that they subclass
Fixes #138
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Updates testing , adds comments
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
* Check that data is an Array
Signed-off-by: Dan Cunningham <dan@digitaldan.com>
---------
Signed-off-by: Dan Cunningham <dan@digitaldan.com>