{"action":"opened","number":6,"pull_request":{"url":"https://api.github.com/repos/DataDog/zstd/pulls/6","id":86396678,"html_url":"https://github.com/DataDog/zstd/pull/6","diff_url":"https://github.com/DataDog/zstd/pull/6.diff","patch_url":"https://github.com/DataDog/zstd/pull/6.patch","issue_url":"https://api.github.com/repos/DataDog/zstd/issues/6","number":6,"state":"open","locked":false,"title":"Adding BytesWritten() to Writer.","user":{"login":"joshcarter","id":17046,"avatar_url":"https://avatars.githubusercontent.com/u/17046?v=3","gravatar_id":"","url":"https://api.github.com/users/joshcarter","html_url":"https://github.com/joshcarter","followers_url":"https://api.github.com/users/joshcarter/followers","following_url":"https://api.github.com/users/joshcarter/following{/other_user}","gists_url":"https://api.github.com/users/joshcarter/gists{/gist_id}","starred_url":"https://api.github.com/users/joshcarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshcarter/subscriptions","organizations_url":"https://api.github.com/users/joshcarter/orgs","repos_url":"https://api.github.com/users/joshcarter/repos","events_url":"https://api.github.com/users/joshcarter/events{/privacy}","received_events_url":"https://api.github.com/users/joshcarter/received_events","type":"User","site_admin":false},"body":"- I have a scenario where I need to know how many bytes were written\r\n  to the compressor's back-end. Added a private counter to Writer and\r\n  BytesWritten() method which provides this.","created_at":"2016-09-22T19:11:17Z","updated_at":"2016-09-22T19:11:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/DataDog/zstd/pulls/6/commits","review_comments_url":"https://api.github.com/repos/DataDog/zstd/pulls/6/comments","review_comment_url":"https://api.github.com/repos/DataDog/zstd/pulls/comments{/number}","comments_url":"https://api.github.com/repos/DataDog/zstd/issues/6/comments","statuses_url":"https://api.github.com/repos/DataDog/zstd/statuses/d675975ca378611ec356d97a6ca43e09cb391e75","head":{"label":"joshcarter:add-written-size","ref":"add-written-size","sha":"d675975ca378611ec356d97a6ca43e09cb391e75","user":{"login":"joshcarter","id":17046,"avatar_url":"https://avatars.githubusercontent.com/u/17046?v=3","gravatar_id":"","url":"https://api.github.com/users/joshcarter","html_url":"https://github.com/joshcarter","followers_url":"https://api.github.com/users/joshcarter/followers","following_url":"https://api.github.com/users/joshcarter/following{/other_user}","gists_url":"https://api.github.com/users/joshcarter/gists{/gist_id}","starred_url":"https://api.github.com/users/joshcarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshcarter/subscriptions","organizations_url":"https://api.github.com/users/joshcarter/orgs","repos_url":"https://api.github.com/users/joshcarter/repos","events_url":"https://api.github.com/users/joshcarter/events{/privacy}","received_events_url":"https://api.github.com/users/joshcarter/received_events","type":"User","site_admin":false},"repo":{"id":67551480,"name":"zstd","full_name":"joshcarter/zstd","owner":{"login":"joshcarter","id":17046,"avatar_url":"https://avatars.githubusercontent.com/u/17046?v=3","gravatar_id":"","url":"https://api.github.com/users/joshcarter","html_url":"https://github.com/joshcarter","followers_url":"https://api.github.com/users/joshcarter/followers","following_url":"https://api.github.com/users/joshcarter/following{/other_user}","gists_url":"https://api.github.com/users/joshcarter/gists{/gist_id}","starred_url":"https://api.github.com/users/joshcarter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joshcarter/subscriptions","organizations_url":"https://api.github.com/users/joshcarter/orgs","repos_url":"https://api.github.com/users/joshcarter/repos","events_url":"https://api.github.com/users/joshcarter/events{/privacy}","received_events_url":"https://api.github.com/users/joshcarter/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/joshcarter/zstd","description":"Zstd wrapper for Go","fork":true,"url":"https://api.github.com/repos/joshcarter/zstd","forks_url":"https://api.github.com/repos/joshcarter/zstd/forks","keys_url":"https://api.github.com/repos/joshcarter/zstd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joshcarter/zstd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joshcarter/zstd/teams","hooks_url":"https://api.github.com/repos/joshcarter/zstd/hooks","issue_events_url":"https://api.github.com/repos/joshcarter/zstd/issues/events{/number}","events_url":"https://api.github.com/repos/joshcarter/zstd/events","assignees_url":"https://api.github.com/repos/joshcarter/zstd/assignees{/user}","branches_url":"https://api.github.com/repos/joshcarter/zstd/branches{/branch}","tags_url":"https://api.github.com/repos/joshcarter/zstd/tags","blobs_url":"https://api.github.com/repos/joshcarter/zstd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joshcarter/zstd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joshcarter/zstd/git/refs{/sha}","trees_url":"https://api.github.com/repos/joshcarter/zstd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joshcarter/zstd/statuses/{sha}","languages_url":"https://api.github.com/repos/joshcarter/zstd/languages","stargazers_url":"https://api.github.com/repos/joshcarter/zstd/stargazers","contributors_url":"https://api.github.com/repos/joshcarter/zstd/contributors","subscribers_url":"https://api.github.com/repos/joshcarter/zstd/subscribers","subscription_url":"https://api.github.com/repos/joshcarter/zstd/subscription","commits_url":"https://api.github.com/repos/joshcarter/zstd/commits{/sha}","git_commits_url":"https://api.github.com/repos/joshcarter/zstd/git/commits{/sha}","comments_url":"https://api.github.com/repos/joshcarter/zstd/comments{/number}","issue_comment_url":"https://api.github.com/repos/joshcarter/zstd/issues/comments{/number}","contents_url":"https://api.github.com/repos/joshcarter/zstd/contents/{+path}","compare_url":"https://api.github.com/repos/joshcarter/zstd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joshcarter/zstd/merges","archive_url":"https://api.github.com/repos/joshcarter/zstd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joshcarter/zstd/downloads","issues_url":"https://api.github.com/repos/joshcarter/zstd/issues{/number}","pulls_url":"https://api.github.com/repos/joshcarter/zstd/pulls{/number}","milestones_url":"https://api.github.com/repos/joshcarter/zstd/milestones{/number}","notifications_url":"https://api.github.com/repos/joshcarter/zstd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joshcarter/zstd/labels{/name}","releases_url":"https://api.github.com/repos/joshcarter/zstd/releases{/id}","deployments_url":"https://api.github.com/repos/joshcarter/zstd/deployments","created_at":"2016-09-06T22:29:54Z","updated_at":"2016-09-07T18:25:00Z","pushed_at":"2016-09-22T19:09:52Z","git_url":"git://github.com/joshcarter/zstd.git","ssh_url":"git@github.com:joshcarter/zstd.git","clone_url":"https://github.com/joshcarter/zstd.git","svn_url":"https://github.com/joshcarter/zstd","homepage":null,"size":382,"stargazers_count":0,"watchers_count":0,"language":"C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"DataDog:dev","ref":"dev","sha":"af19ae6bd5af997c006a9e6dfcbf24a211d24e18","user":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"repo":{"id":60188025,"name":"zstd","full_name":"DataDog/zstd","owner":{"login":"DataDog","id":365230,"avatar_url":"https://avatars.githubusercontent.com/u/365230?v=3","gravatar_id":"","url":"https://api.github.com/users/DataDog","html_url":"https://github.com/DataDog","followers_url":"https://api.github.com/users/DataDog/followers","following_url":"https://api.github.com/users/DataDog/following{/other_user}","gists_url":"https://api.github.com/users/DataDog/gists{/gist_id}","starred_url":"https://api.github.com/users/DataDog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DataDog/subscriptions","organizations_url":"https://api.github.com/users/DataDog/orgs","repos_url":"https://api.github.com/users/DataDog/repos","events_url":"https://api.github.com/users/DataDog/events{/privacy}","received_events_url":"https://api.github.com/users/DataDog/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/DataDog/zstd","description":"Zstd wrapper for Go","fork":false,"url":"https://api.github.com/repos/DataDog/zstd","forks_url":"https://api.github.com/repos/DataDog/zstd/forks","keys_url":"https://api.github.com/repos/DataDog/zstd/keys{/key_id}","collaborators_url":"https://api.github.com/repos/DataDog/zstd/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/DataDog/zstd/teams","hooks_url":"https://api.github.com/repos/DataDog/zstd/hooks","issue_events_url":"https://api.github.com/repos/DataDog/zstd/issues/events{/number}","events_url":"https://api.github.com/repos/DataDog/zstd/events","assignees_url":"https://api.github.com/repos/DataDog/zstd/assignees{/user}","branches_url":"https://api.github.com/repos/DataDog/zstd/branches{/branch}","tags_url":"https://api.github.com/repos/DataDog/zstd/tags","blobs_url":"https://api.github.com/repos/DataDog/zstd/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/DataDog/zstd/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/DataDog/zstd/git/refs{/sha}","trees_url":"https://api.github.com/repos/DataDog/zstd/git/trees{/sha}","statuses_url":"https://api.github.com/repos/DataDog/zstd/statuses/{sha}","languages_url":"https://api.github.com/repos/DataDog/zstd/languages","stargazers_url":"https://api.github.com/repos/DataDog/zstd/stargazers","contributors_url":"https://api.github.com/repos/DataDog/zstd/contributors","subscribers_url":"https://api.github.com/repos/DataDog/zstd/subscribers","subscription_url":"https://api.github.com/repos/DataDog/zstd/subscription","commits_url":"https://api.github.com/repos/DataDog/zstd/commits{/sha}","git_commits_url":"https://api.github.com/repos/DataDog/zstd/git/commits{/sha}","comments_url":"https://api.github.com/repos/DataDog/zstd/comments{/number}","issue_comment_url":"https://api.github.com/repos/DataDog/zstd/issues/comments{/number}","contents_url":"https://api.github.com/repos/DataDog/zstd/contents/{+path}","compare_url":"https://api.github.com/repos/DataDog/zstd/compare/{base}...{head}","merges_url":"https://api.github.com/repos/DataDog/zstd/merges","archive_url":"https://api.github.com/repos/DataDog/zstd/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/DataDog/zstd/downloads","issues_url":"https://api.github.com/repos/DataDog/zstd/issues{/number}","pulls_url":"https://api.github.com/repos/DataDog/zstd/pulls{/number}","milestones_url":"https://api.github.com/repos/DataDog/zstd/milestones{/number}","notifications_url":"https://api.github.com/repos/DataDog/zstd/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/DataDog/zstd/labels{/name}","releases_url":"https://api.github.com/repos/DataDog/zstd/releases{/id}","deployments_url":"https://api.github.com/repos/DataDog/zstd/deployments","created_at":"2016-06-01T15:16:13Z","updated_at":"2016-09-20T08:59:30Z","pushed_at":"2016-09-07T19:07:45Z","git_url":"git://github.com/DataDog/zstd.git","ssh_url":"git@github.com:DataDog/zstd.git","clone_url":"https://github.com/DataDog/zstd.git","svn_url":"https://github.com/DataDog/zstd","homepage":null,"size":383,"stargazers_count":107,"watchers_count":107,"language":"C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":5,"forks":5,"open_issues":5,"watchers":107,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/DataDog/zstd/pulls/6"},"html":{"href":"https://github.com/DataDog/zstd/pull/6"},"issue":{"href":"https://api.github.com/repos/DataDog/zstd/issues/6"},"comments":{"href":"https://api.github.com/repos/DataDog/zstd/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/DataDog/zstd/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/DataDog/zstd/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/DataDog/zstd/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/DataDog/zstd/statuses/d675975ca378611ec356d97a6ca43e09cb391e75"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":14,"deletions":1,"changed_files":2}}
{"actor":{"display_login":"joshcarter"}}