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

lib: clarify get byteLength #10574

Closed
wants to merge 1 commit into from
Closed

Commits on Aug 26, 2017

  1. lib: clarify get byteLength

    The Buffer.byteLength() accepts Buffer instance as parameter, so
    the code can be simplified to Buffer.byteLength(value, encoding)
    without type check.
    JacksonTian committed Aug 26, 2017
    Copy the full SHA
    620fc5e View commit details
    Browse the repository at this point in the history