{"action":"opened","number":12,"pull_request":{"url":"https://api.github.com/repos/nopara73/DotNetTor/pulls/12","id":156029992,"html_url":"https://github.com/nopara73/DotNetTor/pull/12","diff_url":"https://github.com/nopara73/DotNetTor/pull/12.diff","patch_url":"https://github.com/nopara73/DotNetTor/pull/12.patch","issue_url":"https://api.github.com/repos/nopara73/DotNetTor/issues/12","number":12,"state":"open","locked":false,"title":"setting the length to be the size of the bytes not the length of the string","user":{"login":"mikeapple","id":10143659,"avatar_url":"https://avatars2.githubusercontent.com/u/10143659?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeapple","html_url":"https://github.com/mikeapple","followers_url":"https://api.github.com/users/mikeapple/followers","following_url":"https://api.github.com/users/mikeapple/following{/other_user}","gists_url":"https://api.github.com/users/mikeapple/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeapple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeapple/subscriptions","organizations_url":"https://api.github.com/users/mikeapple/orgs","repos_url":"https://api.github.com/users/mikeapple/repos","events_url":"https://api.github.com/users/mikeapple/events{/privacy}","received_events_url":"https://api.github.com/users/mikeapple/received_events","type":"User","site_admin":false},"body":"This makes sense to me now (ignore my last PR).\r\nThe WriteAsync was being set of 0 to length of the string which works for ascii which is 1 byte per char but as utf-8 is 2 then the byte size is greater than the length of the string.","created_at":"2017-12-02T20:31:57Z","updated_at":"2017-12-02T20:31:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/nopara73/DotNetTor/pulls/12/commits","review_comments_url":"https://api.github.com/repos/nopara73/DotNetTor/pulls/12/comments","review_comment_url":"https://api.github.com/repos/nopara73/DotNetTor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nopara73/DotNetTor/issues/12/comments","statuses_url":"https://api.github.com/repos/nopara73/DotNetTor/statuses/895ed96742d1849c358f89a2491da1b36bc8245e","head":{"label":"mikeapple:master","ref":"master","sha":"895ed96742d1849c358f89a2491da1b36bc8245e","user":{"login":"mikeapple","id":10143659,"avatar_url":"https://avatars2.githubusercontent.com/u/10143659?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeapple","html_url":"https://github.com/mikeapple","followers_url":"https://api.github.com/users/mikeapple/followers","following_url":"https://api.github.com/users/mikeapple/following{/other_user}","gists_url":"https://api.github.com/users/mikeapple/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeapple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeapple/subscriptions","organizations_url":"https://api.github.com/users/mikeapple/orgs","repos_url":"https://api.github.com/users/mikeapple/repos","events_url":"https://api.github.com/users/mikeapple/events{/privacy}","received_events_url":"https://api.github.com/users/mikeapple/received_events","type":"User","site_admin":false},"repo":{"id":112857423,"name":"DotNetTor","full_name":"mikeapple/DotNetTor","owner":{"login":"mikeapple","id":10143659,"avatar_url":"https://avatars2.githubusercontent.com/u/10143659?v=4","gravatar_id":"","url":"https://api.github.com/users/mikeapple","html_url":"https://github.com/mikeapple","followers_url":"https://api.github.com/users/mikeapple/followers","following_url":"https://api.github.com/users/mikeapple/following{/other_user}","gists_url":"https://api.github.com/users/mikeapple/gists{/gist_id}","starred_url":"https://api.github.com/users/mikeapple/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mikeapple/subscriptions","organizations_url":"https://api.github.com/users/mikeapple/orgs","repos_url":"https://api.github.com/users/mikeapple/repos","events_url":"https://api.github.com/users/mikeapple/events{/privacy}","received_events_url":"https://api.github.com/users/mikeapple/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mikeapple/DotNetTor","description":"Library implementation of essential Tor features in .NET Core.","fork":true,"url":"https://api.github.com/repos/mikeapple/DotNetTor","forks_url":"https://api.github.com/repos/mikeapple/DotNetTor/forks","keys_url":"https://api.github.com/repos/mikeapple/DotNetTor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mikeapple/DotNetTor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mikeapple/DotNetTor/teams","hooks_url":"https://api.github.com/repos/mikeapple/DotNetTor/hooks","issue_events_url":"https://api.github.com/repos/mikeapple/DotNetTor/issues/events{/number}","events_url":"https://api.github.com/repos/mikeapple/DotNetTor/events","assignees_url":"https://api.github.com/repos/mikeapple/DotNetTor/assignees{/user}","branches_url":"https://api.github.com/repos/mikeapple/DotNetTor/branches{/branch}","tags_url":"https://api.github.com/repos/mikeapple/DotNetTor/tags","blobs_url":"https://api.github.com/repos/mikeapple/DotNetTor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mikeapple/DotNetTor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mikeapple/DotNetTor/git/refs{/sha}","trees_url":"https://api.github.com/repos/mikeapple/DotNetTor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mikeapple/DotNetTor/statuses/{sha}","languages_url":"https://api.github.com/repos/mikeapple/DotNetTor/languages","stargazers_url":"https://api.github.com/repos/mikeapple/DotNetTor/stargazers","contributors_url":"https://api.github.com/repos/mikeapple/DotNetTor/contributors","subscribers_url":"https://api.github.com/repos/mikeapple/DotNetTor/subscribers","subscription_url":"https://api.github.com/repos/mikeapple/DotNetTor/subscription","commits_url":"https://api.github.com/repos/mikeapple/DotNetTor/commits{/sha}","git_commits_url":"https://api.github.com/repos/mikeapple/DotNetTor/git/commits{/sha}","comments_url":"https://api.github.com/repos/mikeapple/DotNetTor/comments{/number}","issue_comment_url":"https://api.github.com/repos/mikeapple/DotNetTor/issues/comments{/number}","contents_url":"https://api.github.com/repos/mikeapple/DotNetTor/contents/{+path}","compare_url":"https://api.github.com/repos/mikeapple/DotNetTor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mikeapple/DotNetTor/merges","archive_url":"https://api.github.com/repos/mikeapple/DotNetTor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mikeapple/DotNetTor/downloads","issues_url":"https://api.github.com/repos/mikeapple/DotNetTor/issues{/number}","pulls_url":"https://api.github.com/repos/mikeapple/DotNetTor/pulls{/number}","milestones_url":"https://api.github.com/repos/mikeapple/DotNetTor/milestones{/number}","notifications_url":"https://api.github.com/repos/mikeapple/DotNetTor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mikeapple/DotNetTor/labels{/name}","releases_url":"https://api.github.com/repos/mikeapple/DotNetTor/releases{/id}","deployments_url":"https://api.github.com/repos/mikeapple/DotNetTor/deployments","created_at":"2017-12-02T16:23:44Z","updated_at":"2017-12-02T16:23:46Z","pushed_at":"2017-12-02T20:28:35Z","git_url":"git://github.com/mikeapple/DotNetTor.git","ssh_url":"git@github.com:mikeapple/DotNetTor.git","clone_url":"https://github.com/mikeapple/DotNetTor.git","svn_url":"https://github.com/mikeapple/DotNetTor","homepage":"https://www.nuget.org/packages/DotNetTor","size":232,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nopara73:master","ref":"master","sha":"17f96a10f0ee06f777ab833226c5418020b5ef15","user":{"login":"nopara73","id":9156103,"avatar_url":"https://avatars0.githubusercontent.com/u/9156103?v=4","gravatar_id":"","url":"https://api.github.com/users/nopara73","html_url":"https://github.com/nopara73","followers_url":"https://api.github.com/users/nopara73/followers","following_url":"https://api.github.com/users/nopara73/following{/other_user}","gists_url":"https://api.github.com/users/nopara73/gists{/gist_id}","starred_url":"https://api.github.com/users/nopara73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nopara73/subscriptions","organizations_url":"https://api.github.com/users/nopara73/orgs","repos_url":"https://api.github.com/users/nopara73/repos","events_url":"https://api.github.com/users/nopara73/events{/privacy}","received_events_url":"https://api.github.com/users/nopara73/received_events","type":"User","site_admin":false},"repo":{"id":76352649,"name":"DotNetTor","full_name":"nopara73/DotNetTor","owner":{"login":"nopara73","id":9156103,"avatar_url":"https://avatars0.githubusercontent.com/u/9156103?v=4","gravatar_id":"","url":"https://api.github.com/users/nopara73","html_url":"https://github.com/nopara73","followers_url":"https://api.github.com/users/nopara73/followers","following_url":"https://api.github.com/users/nopara73/following{/other_user}","gists_url":"https://api.github.com/users/nopara73/gists{/gist_id}","starred_url":"https://api.github.com/users/nopara73/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nopara73/subscriptions","organizations_url":"https://api.github.com/users/nopara73/orgs","repos_url":"https://api.github.com/users/nopara73/repos","events_url":"https://api.github.com/users/nopara73/events{/privacy}","received_events_url":"https://api.github.com/users/nopara73/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nopara73/DotNetTor","description":"Library implementation of essential Tor features in .NET Core.","fork":false,"url":"https://api.github.com/repos/nopara73/DotNetTor","forks_url":"https://api.github.com/repos/nopara73/DotNetTor/forks","keys_url":"https://api.github.com/repos/nopara73/DotNetTor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nopara73/DotNetTor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nopara73/DotNetTor/teams","hooks_url":"https://api.github.com/repos/nopara73/DotNetTor/hooks","issue_events_url":"https://api.github.com/repos/nopara73/DotNetTor/issues/events{/number}","events_url":"https://api.github.com/repos/nopara73/DotNetTor/events","assignees_url":"https://api.github.com/repos/nopara73/DotNetTor/assignees{/user}","branches_url":"https://api.github.com/repos/nopara73/DotNetTor/branches{/branch}","tags_url":"https://api.github.com/repos/nopara73/DotNetTor/tags","blobs_url":"https://api.github.com/repos/nopara73/DotNetTor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nopara73/DotNetTor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nopara73/DotNetTor/git/refs{/sha}","trees_url":"https://api.github.com/repos/nopara73/DotNetTor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nopara73/DotNetTor/statuses/{sha}","languages_url":"https://api.github.com/repos/nopara73/DotNetTor/languages","stargazers_url":"https://api.github.com/repos/nopara73/DotNetTor/stargazers","contributors_url":"https://api.github.com/repos/nopara73/DotNetTor/contributors","subscribers_url":"https://api.github.com/repos/nopara73/DotNetTor/subscribers","subscription_url":"https://api.github.com/repos/nopara73/DotNetTor/subscription","commits_url":"https://api.github.com/repos/nopara73/DotNetTor/commits{/sha}","git_commits_url":"https://api.github.com/repos/nopara73/DotNetTor/git/commits{/sha}","comments_url":"https://api.github.com/repos/nopara73/DotNetTor/comments{/number}","issue_comment_url":"https://api.github.com/repos/nopara73/DotNetTor/issues/comments{/number}","contents_url":"https://api.github.com/repos/nopara73/DotNetTor/contents/{+path}","compare_url":"https://api.github.com/repos/nopara73/DotNetTor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nopara73/DotNetTor/merges","archive_url":"https://api.github.com/repos/nopara73/DotNetTor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nopara73/DotNetTor/downloads","issues_url":"https://api.github.com/repos/nopara73/DotNetTor/issues{/number}","pulls_url":"https://api.github.com/repos/nopara73/DotNetTor/pulls{/number}","milestones_url":"https://api.github.com/repos/nopara73/DotNetTor/milestones{/number}","notifications_url":"https://api.github.com/repos/nopara73/DotNetTor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nopara73/DotNetTor/labels{/name}","releases_url":"https://api.github.com/repos/nopara73/DotNetTor/releases{/id}","deployments_url":"https://api.github.com/repos/nopara73/DotNetTor/deployments","created_at":"2016-12-13T11:29:09Z","updated_at":"2017-12-02T13:59:23Z","pushed_at":"2017-12-02T19:24:52Z","git_url":"git://github.com/nopara73/DotNetTor.git","ssh_url":"git@github.com:nopara73/DotNetTor.git","clone_url":"https://github.com/nopara73/DotNetTor.git","svn_url":"https://github.com/nopara73/DotNetTor","homepage":"https://www.nuget.org/packages/DotNetTor","size":231,"stargazers_count":31,"watchers_count":31,"language":"C#","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":14,"mirror_url":null,"archived":false,"open_issues_count":4,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":14,"open_issues":4,"watchers":31,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nopara73/DotNetTor/pulls/12"},"html":{"href":"https://github.com/nopara73/DotNetTor/pull/12"},"issue":{"href":"https://api.github.com/repos/nopara73/DotNetTor/issues/12"},"comments":{"href":"https://api.github.com/repos/nopara73/DotNetTor/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/nopara73/DotNetTor/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/nopara73/DotNetTor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nopara73/DotNetTor/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/nopara73/DotNetTor/statuses/895ed96742d1849c358f89a2491da1b36bc8245e"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":3,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"mikeapple"}}