{"action":"created","comment":{"url":"https://api.github.com/repos/metarhia/metacom/pulls/comments/216167986","pull_request_review_id":153591114,"id":216167986,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjE2Nzk4Ng==","diff_hunk":"@@ -38,15 +33,18 @@ const readParcel = (\n };\n \n const parcel = ({\n-// Encode parcel structure to Buffer\n-  parcelId,     // id, // parcelId: 4b\n-  parcelType,   // type, // parcelType: 1b\n-  compression,  // compression, // 1b: no = 0, gzip = 1\n-  encoding,     // encoding,\n+  // Encode parcel structure to Buffer\n+  parcelId, // number, id of parcel: 4b\n+  parcelType, // number, type of parcel\n+  // 1b: ping = 0, pong = 1, call = 2, callback = 3, event = 4, stream = 5","path":"lib/parser.js","position":null,"original_position":46,"commit_id":"2218c45971d3b89e475f302aa4c5c98c4f2b5953","original_commit_id":"7b876ca32cf70dad1175bdc7e5c6678050b6b12f","user":{"login":"o-rumiantsev","id":31701013,"node_id":"MDQ6VXNlcjMxNzAxMDEz","avatar_url":"https://avatars2.githubusercontent.com/u/31701013?v=4","gravatar_id":"","url":"https://api.github.com/users/o-rumiantsev","html_url":"https://github.com/o-rumiantsev","followers_url":"https://api.github.com/users/o-rumiantsev/followers","following_url":"https://api.github.com/users/o-rumiantsev/following{/other_user}","gists_url":"https://api.github.com/users/o-rumiantsev/gists{/gist_id}","starred_url":"https://api.github.com/users/o-rumiantsev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o-rumiantsev/subscriptions","organizations_url":"https://api.github.com/users/o-rumiantsev/orgs","repos_url":"https://api.github.com/users/o-rumiantsev/repos","events_url":"https://api.github.com/users/o-rumiantsev/events{/privacy}","received_events_url":"https://api.github.com/users/o-rumiantsev/received_events","type":"User","site_admin":false},"body":"size of `parcelType` is 1 byte.\r\nif `parcelType`  equal to 0 this means that this is a parcel of type `ping` etc.","created_at":"2018-09-09T19:45:08Z","updated_at":"2018-09-09T19:45:08Z","html_url":"https://github.com/metarhia/metacom/pull/24#discussion_r216167986","pull_request_url":"https://api.github.com/repos/metarhia/metacom/pulls/24","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/metarhia/metacom/pulls/comments/216167986"},"html":{"href":"https://github.com/metarhia/metacom/pull/24#discussion_r216167986"},"pull_request":{"href":"https://api.github.com/repos/metarhia/metacom/pulls/24"}},"in_reply_to_id":216152617},"pull_request":{"url":"https://api.github.com/repos/metarhia/metacom/pulls/24","id":192384790,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkyMzg0Nzkw","html_url":"https://github.com/metarhia/metacom/pull/24","diff_url":"https://github.com/metarhia/metacom/pull/24.diff","patch_url":"https://github.com/metarhia/metacom/pull/24.patch","issue_url":"https://api.github.com/repos/metarhia/metacom/issues/24","number":24,"state":"open","locked":false,"title":"Parser implementation","user":{"login":"dimanadko","id":31672036,"node_id":"MDQ6VXNlcjMxNjcyMDM2","avatar_url":"https://avatars1.githubusercontent.com/u/31672036?v=4","gravatar_id":"","url":"https://api.github.com/users/dimanadko","html_url":"https://github.com/dimanadko","followers_url":"https://api.github.com/users/dimanadko/followers","following_url":"https://api.github.com/users/dimanadko/following{/other_user}","gists_url":"https://api.github.com/users/dimanadko/gists{/gist_id}","starred_url":"https://api.github.com/users/dimanadko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dimanadko/subscriptions","organizations_url":"https://api.github.com/users/dimanadko/orgs","repos_url":"https://api.github.com/users/dimanadko/repos","events_url":"https://api.github.com/users/dimanadko/events{/privacy}","received_events_url":"https://api.github.com/users/dimanadko/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-06-04T11:59:26Z","updated_at":"2018-09-09T19:45:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d9a704996a4b3e2bf4e348cf53414720d4ee7ba1","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/metarhia/metacom/pulls/24/commits","review_comments_url":"https://api.github.com/repos/metarhia/metacom/pulls/24/comments","review_comment_url":"https://api.github.com/repos/metarhia/metacom/pulls/comments{/number}","comments_url":"https://api.github.com/repos/metarhia/metacom/issues/24/comments","statuses_url":"https://api.github.com/repos/metarhia/metacom/statuses/2218c45971d3b89e475f302aa4c5c98c4f2b5953","head":{"label":"Tariod:parser-implementation","ref":"parser-implementation","sha":"2218c45971d3b89e475f302aa4c5c98c4f2b5953","user":{"login":"Tariod","id":31654782,"node_id":"MDQ6VXNlcjMxNjU0Nzgy","avatar_url":"https://avatars1.githubusercontent.com/u/31654782?v=4","gravatar_id":"","url":"https://api.github.com/users/Tariod","html_url":"https://github.com/Tariod","followers_url":"https://api.github.com/users/Tariod/followers","following_url":"https://api.github.com/users/Tariod/following{/other_user}","gists_url":"https://api.github.com/users/Tariod/gists{/gist_id}","starred_url":"https://api.github.com/users/Tariod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tariod/subscriptions","organizations_url":"https://api.github.com/users/Tariod/orgs","repos_url":"https://api.github.com/users/Tariod/repos","events_url":"https://api.github.com/users/Tariod/events{/privacy}","received_events_url":"https://api.github.com/users/Tariod/received_events","type":"User","site_admin":false},"repo":{"id":135439912,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU0Mzk5MTI=","name":"metacom","full_name":"Tariod/metacom","owner":{"login":"Tariod","id":31654782,"node_id":"MDQ6VXNlcjMxNjU0Nzgy","avatar_url":"https://avatars1.githubusercontent.com/u/31654782?v=4","gravatar_id":"","url":"https://api.github.com/users/Tariod","html_url":"https://github.com/Tariod","followers_url":"https://api.github.com/users/Tariod/followers","following_url":"https://api.github.com/users/Tariod/following{/other_user}","gists_url":"https://api.github.com/users/Tariod/gists{/gist_id}","starred_url":"https://api.github.com/users/Tariod/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tariod/subscriptions","organizations_url":"https://api.github.com/users/Tariod/orgs","repos_url":"https://api.github.com/users/Tariod/repos","events_url":"https://api.github.com/users/Tariod/events{/privacy}","received_events_url":"https://api.github.com/users/Tariod/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tariod/metacom","description":"Communication protocol for Metarhia stack with rpc, events, binary streams, memory and db access","fork":true,"url":"https://api.github.com/repos/Tariod/metacom","forks_url":"https://api.github.com/repos/Tariod/metacom/forks","keys_url":"https://api.github.com/repos/Tariod/metacom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tariod/metacom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tariod/metacom/teams","hooks_url":"https://api.github.com/repos/Tariod/metacom/hooks","issue_events_url":"https://api.github.com/repos/Tariod/metacom/issues/events{/number}","events_url":"https://api.github.com/repos/Tariod/metacom/events","assignees_url":"https://api.github.com/repos/Tariod/metacom/assignees{/user}","branches_url":"https://api.github.com/repos/Tariod/metacom/branches{/branch}","tags_url":"https://api.github.com/repos/Tariod/metacom/tags","blobs_url":"https://api.github.com/repos/Tariod/metacom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tariod/metacom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tariod/metacom/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tariod/metacom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tariod/metacom/statuses/{sha}","languages_url":"https://api.github.com/repos/Tariod/metacom/languages","stargazers_url":"https://api.github.com/repos/Tariod/metacom/stargazers","contributors_url":"https://api.github.com/repos/Tariod/metacom/contributors","subscribers_url":"https://api.github.com/repos/Tariod/metacom/subscribers","subscription_url":"https://api.github.com/repos/Tariod/metacom/subscription","commits_url":"https://api.github.com/repos/Tariod/metacom/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tariod/metacom/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tariod/metacom/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tariod/metacom/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tariod/metacom/contents/{+path}","compare_url":"https://api.github.com/repos/Tariod/metacom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tariod/metacom/merges","archive_url":"https://api.github.com/repos/Tariod/metacom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tariod/metacom/downloads","issues_url":"https://api.github.com/repos/Tariod/metacom/issues{/number}","pulls_url":"https://api.github.com/repos/Tariod/metacom/pulls{/number}","milestones_url":"https://api.github.com/repos/Tariod/metacom/milestones{/number}","notifications_url":"https://api.github.com/repos/Tariod/metacom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tariod/metacom/labels{/name}","releases_url":"https://api.github.com/repos/Tariod/metacom/releases{/id}","deployments_url":"https://api.github.com/repos/Tariod/metacom/deployments","created_at":"2018-05-30T12:32:09Z","updated_at":"2018-05-30T12:32:11Z","pushed_at":"2018-09-09T19:22:22Z","git_url":"git://github.com/Tariod/metacom.git","ssh_url":"git@github.com:Tariod/metacom.git","clone_url":"https://github.com/Tariod/metacom.git","svn_url":"https://github.com/Tariod/metacom","homepage":null,"size":80,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"metarhia:master","ref":"master","sha":"fca70c0b4c9623d85cdc5be34fa7994c113333b8","user":{"login":"metarhia","id":18060695,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MDYwNjk1","avatar_url":"https://avatars2.githubusercontent.com/u/18060695?v=4","gravatar_id":"","url":"https://api.github.com/users/metarhia","html_url":"https://github.com/metarhia","followers_url":"https://api.github.com/users/metarhia/followers","following_url":"https://api.github.com/users/metarhia/following{/other_user}","gists_url":"https://api.github.com/users/metarhia/gists{/gist_id}","starred_url":"https://api.github.com/users/metarhia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metarhia/subscriptions","organizations_url":"https://api.github.com/users/metarhia/orgs","repos_url":"https://api.github.com/users/metarhia/repos","events_url":"https://api.github.com/users/metarhia/events{/privacy}","received_events_url":"https://api.github.com/users/metarhia/received_events","type":"Organization","site_admin":false},"repo":{"id":129932987,"node_id":"MDEwOlJlcG9zaXRvcnkxMjk5MzI5ODc=","name":"metacom","full_name":"metarhia/metacom","owner":{"login":"metarhia","id":18060695,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE4MDYwNjk1","avatar_url":"https://avatars2.githubusercontent.com/u/18060695?v=4","gravatar_id":"","url":"https://api.github.com/users/metarhia","html_url":"https://github.com/metarhia","followers_url":"https://api.github.com/users/metarhia/followers","following_url":"https://api.github.com/users/metarhia/following{/other_user}","gists_url":"https://api.github.com/users/metarhia/gists{/gist_id}","starred_url":"https://api.github.com/users/metarhia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/metarhia/subscriptions","organizations_url":"https://api.github.com/users/metarhia/orgs","repos_url":"https://api.github.com/users/metarhia/repos","events_url":"https://api.github.com/users/metarhia/events{/privacy}","received_events_url":"https://api.github.com/users/metarhia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/metarhia/metacom","description":"Communication protocol for Metarhia stack with rpc, events, binary streams, memory and db access","fork":false,"url":"https://api.github.com/repos/metarhia/metacom","forks_url":"https://api.github.com/repos/metarhia/metacom/forks","keys_url":"https://api.github.com/repos/metarhia/metacom/keys{/key_id}","collaborators_url":"https://api.github.com/repos/metarhia/metacom/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/metarhia/metacom/teams","hooks_url":"https://api.github.com/repos/metarhia/metacom/hooks","issue_events_url":"https://api.github.com/repos/metarhia/metacom/issues/events{/number}","events_url":"https://api.github.com/repos/metarhia/metacom/events","assignees_url":"https://api.github.com/repos/metarhia/metacom/assignees{/user}","branches_url":"https://api.github.com/repos/metarhia/metacom/branches{/branch}","tags_url":"https://api.github.com/repos/metarhia/metacom/tags","blobs_url":"https://api.github.com/repos/metarhia/metacom/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/metarhia/metacom/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/metarhia/metacom/git/refs{/sha}","trees_url":"https://api.github.com/repos/metarhia/metacom/git/trees{/sha}","statuses_url":"https://api.github.com/repos/metarhia/metacom/statuses/{sha}","languages_url":"https://api.github.com/repos/metarhia/metacom/languages","stargazers_url":"https://api.github.com/repos/metarhia/metacom/stargazers","contributors_url":"https://api.github.com/repos/metarhia/metacom/contributors","subscribers_url":"https://api.github.com/repos/metarhia/metacom/subscribers","subscription_url":"https://api.github.com/repos/metarhia/metacom/subscription","commits_url":"https://api.github.com/repos/metarhia/metacom/commits{/sha}","git_commits_url":"https://api.github.com/repos/metarhia/metacom/git/commits{/sha}","comments_url":"https://api.github.com/repos/metarhia/metacom/comments{/number}","issue_comment_url":"https://api.github.com/repos/metarhia/metacom/issues/comments{/number}","contents_url":"https://api.github.com/repos/metarhia/metacom/contents/{+path}","compare_url":"https://api.github.com/repos/metarhia/metacom/compare/{base}...{head}","merges_url":"https://api.github.com/repos/metarhia/metacom/merges","archive_url":"https://api.github.com/repos/metarhia/metacom/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/metarhia/metacom/downloads","issues_url":"https://api.github.com/repos/metarhia/metacom/issues{/number}","pulls_url":"https://api.github.com/repos/metarhia/metacom/pulls{/number}","milestones_url":"https://api.github.com/repos/metarhia/metacom/milestones{/number}","notifications_url":"https://api.github.com/repos/metarhia/metacom/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/metarhia/metacom/labels{/name}","releases_url":"https://api.github.com/repos/metarhia/metacom/releases{/id}","deployments_url":"https://api.github.com/repos/metarhia/metacom/deployments","created_at":"2018-04-17T16:19:40Z","updated_at":"2018-09-09T19:17:59Z","pushed_at":"2018-09-09T19:22:24Z","git_url":"git://github.com/metarhia/metacom.git","ssh_url":"git@github.com:metarhia/metacom.git","clone_url":"https://github.com/metarhia/metacom.git","svn_url":"https://github.com/metarhia/metacom","homepage":null,"size":117,"stargazers_count":5,"watchers_count":5,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":4,"open_issues":16,"watchers":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/metarhia/metacom/pulls/24"},"html":{"href":"https://github.com/metarhia/metacom/pull/24"},"issue":{"href":"https://api.github.com/repos/metarhia/metacom/issues/24"},"comments":{"href":"https://api.github.com/repos/metarhia/metacom/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/metarhia/metacom/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/metarhia/metacom/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/metarhia/metacom/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/metarhia/metacom/statuses/2218c45971d3b89e475f302aa4c5c98c4f2b5953"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"o-rumiantsev"}}