{"action":"created","issue":{"url":"https://api.github.com/repos/alexcrichton/flate2-rs/issues/126","repository_url":"https://api.github.com/repos/alexcrichton/flate2-rs","labels_url":"https://api.github.com/repos/alexcrichton/flate2-rs/issues/126/labels{/name}","comments_url":"https://api.github.com/repos/alexcrichton/flate2-rs/issues/126/comments","events_url":"https://api.github.com/repos/alexcrichton/flate2-rs/issues/126/events","html_url":"https://github.com/alexcrichton/flate2-rs/issues/126","id":258496590,"number":126,"title":"`read_to_end()` returns an Error even though the decoding was successful","user":{"login":"Migi","id":706561,"avatar_url":"https://avatars3.githubusercontent.com/u/706561?v=4","gravatar_id":"","url":"https://api.github.com/users/Migi","html_url":"https://github.com/Migi","followers_url":"https://api.github.com/users/Migi/followers","following_url":"https://api.github.com/users/Migi/following{/other_user}","gists_url":"https://api.github.com/users/Migi/gists{/gist_id}","starred_url":"https://api.github.com/users/Migi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Migi/subscriptions","organizations_url":"https://api.github.com/users/Migi/orgs","repos_url":"https://api.github.com/users/Migi/repos","events_url":"https://api.github.com/users/Migi/events{/privacy}","received_events_url":"https://api.github.com/users/Migi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-18T14:17:33Z","updated_at":"2017-09-18T14:53:30Z","closed_at":"2017-09-18T14:38:51Z","author_association":"NONE","body":"Encoding some data to a `Vec<u8>`, then decoding the resulting `Vec<u8>` using `read_to_end()` returns an `Error`, even though it successfully decodes the data.\r\n\r\nLink to a playground example demonstrating the issue: https://play.rust-lang.org/?gist=acca438d551a3bf66ae0025c7d987009"},"comment":{"url":"https://api.github.com/repos/alexcrichton/flate2-rs/issues/comments/330248890","html_url":"https://github.com/alexcrichton/flate2-rs/issues/126#issuecomment-330248890","issue_url":"https://api.github.com/repos/alexcrichton/flate2-rs/issues/126","id":330248890,"user":{"login":"Migi","id":706561,"avatar_url":"https://avatars3.githubusercontent.com/u/706561?v=4","gravatar_id":"","url":"https://api.github.com/users/Migi","html_url":"https://github.com/Migi","followers_url":"https://api.github.com/users/Migi/followers","following_url":"https://api.github.com/users/Migi/following{/other_user}","gists_url":"https://api.github.com/users/Migi/gists{/gist_id}","starred_url":"https://api.github.com/users/Migi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Migi/subscriptions","organizations_url":"https://api.github.com/users/Migi/orgs","repos_url":"https://api.github.com/users/Migi/repos","events_url":"https://api.github.com/users/Migi/events{/privacy}","received_events_url":"https://api.github.com/users/Migi/received_events","type":"User","site_admin":false},"created_at":"2017-09-18T14:53:30Z","updated_at":"2017-09-18T14:53:30Z","author_association":"NONE","body":"My apologies. I used `flush_finish` without properly reading its docs, so this was a pretty clear case of [PEBCAK](https://en.wiktionary.org/wiki/PEBCAK)."}}
{"actor":{"display_login":"Migi"}}