Commit 38542f76 authored by Nathan Rajlich's avatar Nathan Rajlich
Browse files

buffer: make SlowBuffer inherit from Buffer

This frees us from manually having to copy over functions to SlowBuffer's
prototype (which has bitten us multiple times in the past).

As an added bonus, the `inspect()` function is now shared between Buffer
and SlowBuffer, removing some duplicate code.

Closes #3228.
parent a811a4a1
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment