{"action":"created","issue":{"url":"https://api.github.com/repos/nodejs/node/issues/5880","repository_url":"https://api.github.com/repos/nodejs/node","labels_url":"https://api.github.com/repos/nodejs/node/issues/5880/labels{/name}","comments_url":"https://api.github.com/repos/nodejs/node/issues/5880/comments","events_url":"https://api.github.com/repos/nodejs/node/issues/5880/events","html_url":"https://github.com/nodejs/node/pull/5880","id":143085095,"number":5880,"title":"buffer: add Buffer compare by offset","user":{"login":"jasnell","id":439929,"avatar_url":"https://avatars.githubusercontent.com/u/439929?v=3","gravatar_id":"","url":"https://api.github.com/users/jasnell","html_url":"https://github.com/jasnell","followers_url":"https://api.github.com/users/jasnell/followers","following_url":"https://api.github.com/users/jasnell/following{/other_user}","gists_url":"https://api.github.com/users/jasnell/gists{/gist_id}","starred_url":"https://api.github.com/users/jasnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasnell/subscriptions","organizations_url":"https://api.github.com/users/jasnell/orgs","repos_url":"https://api.github.com/users/jasnell/repos","events_url":"https://api.github.com/users/jasnell/events{/privacy}","received_events_url":"https://api.github.com/users/jasnell/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/nodejs/node/labels/buffer","name":"buffer","color":"f7c6c7"},{"url":"https://api.github.com/repos/nodejs/node/labels/semver-minor","name":"semver-minor","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":14,"created_at":"2016-03-23T21:30:42Z","updated_at":"2016-03-27T20:49:34Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/nodejs/node/pulls/5880","html_url":"https://github.com/nodejs/node/pull/5880","diff_url":"https://github.com/nodejs/node/pull/5880.diff","patch_url":"https://github.com/nodejs/node/pull/5880.patch"},"body":"### Pull Request check-list\r\n\r\n- [x] Does `make -j8 test` (UNIX) or `vcbuild test nosign` (Windows) pass with\r\n  this change (including linting)?\r\n- [x] Is the commit message formatted according to [CONTRIBUTING.md][0]?\r\n- [x] If this change fixes a bug (or a performance problem), is a regression\r\n  test (or a benchmark) included?\r\n- [x] Is a documentation update included (if this change modifies\r\n  existing APIs, or introduces new ones)?\r\n\r\n### Affected core subsystem(s)\r\n\r\nbuffer\r\n\r\n### Description of change\r\n\r\nAdds additional `offset`, `length` and `thisOffset` arguments\r\nto `Buffer.prototype.compare` to allow comparison of sub-ranges\r\nof two Buffers without requiring Buffer.prototype.slice()\r\n\r\nFixes: https://github.com/nodejs/node/issues/521\r\n/cc @trevnorris @rootslab @jorangreef"},"comment":{"url":"https://api.github.com/repos/nodejs/node/issues/comments/202142571","html_url":"https://github.com/nodejs/node/pull/5880#issuecomment-202142571","issue_url":"https://api.github.com/repos/nodejs/node/issues/5880","id":202142571,"user":{"login":"jasnell","id":439929,"avatar_url":"https://avatars.githubusercontent.com/u/439929?v=3","gravatar_id":"","url":"https://api.github.com/users/jasnell","html_url":"https://github.com/jasnell","followers_url":"https://api.github.com/users/jasnell/followers","following_url":"https://api.github.com/users/jasnell/following{/other_user}","gists_url":"https://api.github.com/users/jasnell/gists{/gist_id}","starred_url":"https://api.github.com/users/jasnell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasnell/subscriptions","organizations_url":"https://api.github.com/users/jasnell/orgs","repos_url":"https://api.github.com/users/jasnell/repos","events_url":"https://api.github.com/users/jasnell/events{/privacy}","received_events_url":"https://api.github.com/users/jasnell/received_events","type":"User","site_admin":false},"created_at":"2016-03-27T20:49:34Z","updated_at":"2016-03-27T20:49:34Z","body":"@trevnorris @mscdex ... updated and rebased. PTAL!"}}