Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

buffer: expose underlying buffer object always #8311

Closed

Commits on Aug 28, 2016

  1. buffer: expose underlying buffer object always

    If the Buffer object's length is zero, or equal to the underlying
    buffer object's length, `parent` property returns `undefined`.
    
        > new Buffer(0).parent
        undefined
        > new Buffer(Buffer.poolSize).parent
        undefined
    
    This patch makes the buffer objects to consistently expose the buffer
    object via the `parent` property, always.
    
    Fixes: nodejs#8266
    thefourtheye committed Aug 28, 2016
    Configuration menu
    Copy the full SHA
    7a974c5 View commit details
    Browse the repository at this point in the history