Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

buffer: make SlowBuffer inherit from Buffer #3228

Closed
wants to merge 1 commit into from
Closed

buffer: make SlowBuffer inherit from Buffer #3228

wants to merge 1 commit into from

Commits on May 6, 2012

  1. 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.
    TooTallNate committed May 6, 2012
    Copy the full SHA
    2005ec3 View commit details
    Browse the repository at this point in the history