{"action":"created","issue":{"url":"https://api.github.com/repos/Level/memdown/issues/36","labels_url":"https://api.github.com/repos/Level/memdown/issues/36/labels{/name}","comments_url":"https://api.github.com/repos/Level/memdown/issues/36/comments","events_url":"https://api.github.com/repos/Level/memdown/issues/36/events","html_url":"https://github.com/Level/memdown/pull/36","id":77803448,"number":36,"title":"Use ltgt.compare because it compares Buffers","user":{"login":"vweevers","id":3055345,"avatar_url":"https://avatars.githubusercontent.com/u/3055345?v=3","gravatar_id":"","url":"https://api.github.com/users/vweevers","html_url":"https://github.com/vweevers","followers_url":"https://api.github.com/users/vweevers/followers","following_url":"https://api.github.com/users/vweevers/following{/other_user}","gists_url":"https://api.github.com/users/vweevers/gists{/gist_id}","starred_url":"https://api.github.com/users/vweevers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vweevers/subscriptions","organizations_url":"https://api.github.com/users/vweevers/orgs","repos_url":"https://api.github.com/users/vweevers/repos","events_url":"https://api.github.com/users/vweevers/events{/privacy}","received_events_url":"https://api.github.com/users/vweevers/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-18T20:58:00Z","updated_at":"2015-05-18T21:04:20Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Level/memdown/pulls/36","html_url":"https://github.com/Level/memdown/pull/36","diff_url":"https://github.com/Level/memdown/pull/36.diff","patch_url":"https://github.com/Level/memdown/pull/36.patch"},"body":"Found this issue while using array keys with a bytewise key encoding. In that scenario, this would yield a stream without results:\r\n\r\n```js\r\ndb.put(['bar'], 'foo', function(){\r\n  db.createReadStream().pipe(..)\r\n})\r\n```\r\n\r\nWhich is fixed by using `ltgt.compare`."},"comment":{"url":"https://api.github.com/repos/Level/memdown/issues/comments/103210445","html_url":"https://github.com/Level/memdown/pull/36#issuecomment-103210445","issue_url":"https://api.github.com/repos/Level/memdown/issues/36","id":103210445,"user":{"login":"calvinmetcalf","id":1128607,"avatar_url":"https://avatars.githubusercontent.com/u/1128607?v=3","gravatar_id":"","url":"https://api.github.com/users/calvinmetcalf","html_url":"https://github.com/calvinmetcalf","followers_url":"https://api.github.com/users/calvinmetcalf/followers","following_url":"https://api.github.com/users/calvinmetcalf/following{/other_user}","gists_url":"https://api.github.com/users/calvinmetcalf/gists{/gist_id}","starred_url":"https://api.github.com/users/calvinmetcalf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/calvinmetcalf/subscriptions","organizations_url":"https://api.github.com/users/calvinmetcalf/orgs","repos_url":"https://api.github.com/users/calvinmetcalf/repos","events_url":"https://api.github.com/users/calvinmetcalf/events{/privacy}","received_events_url":"https://api.github.com/users/calvinmetcalf/received_events","type":"User","site_admin":false},"created_at":"2015-05-18T21:04:20Z","updated_at":"2015-05-18T21:04:20Z","body":"What is the value  of the buffer in this context? Off the top of my head I don't know how an array is coerced into a buffer with non numeric items "}}