Rich-Harris/devalue

Feature request: Support Node `Buffer`

Opened this issue · 0 comments

I was surprised to see that Node Buffer wasn't properly handled by devalue even though it's just a subclass of Uint8Array. It'd be nice if I didn't have to explicitly convert Buffer to Uint8Array before serialization.