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, doc: improve default read length #40349

Merged
merged 2 commits into from Feb 19, 2022

Commits on Oct 6, 2021

  1. lib: provide a more sensible default length

    Currently, specifying an `offset` without a `length` 
    throws an ERR_OUT_OF_RANGE error.  
    This provides a more sensible default.
    This change should only affect cases 
    where no length is specified and a nonzero offset is, 
    which are currently throwing errors.
    wbt committed Oct 6, 2021
    Copy the full SHA
    bebbed5 View commit details
    Browse the repository at this point in the history
  2. doc: update read function docs to correspond

    Not 100% sure if this is all of them.
    wbt committed Oct 6, 2021
    Copy the full SHA
    2f24c18 View commit details
    Browse the repository at this point in the history