Skip to content

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), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Merge request reports

Loading