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

fix: empty shallowSlice return #65

Merged
merged 1 commit into from Feb 3, 2019

Commits on Feb 2, 2019

  1. fix: empty shallowSlice return

    Buffer.slice() and BL.slice() both support returning an empty dataset when start and end are both the same. We were defaulting the end arg assuming we’d always have a truthy value for end, when 0 is valid.
    reconbot committed Feb 2, 2019
    Copy the full SHA
    9b80b00 View commit details
    Browse the repository at this point in the history