buffer: set toStringTag to buffer
This makes sure using Object.prototype.toString.call()
on a
buffer does not return [object Uint8Array]
but [object Buffer]
.
Checklist
-
make -j4 test
(UNIX), orvcbuild test
(Windows) passes -
tests and/or benchmarks are included -
documentation is changed or added -
commit message follows commit guidelines