{"action":"created","comment":{"url":"https://api.github.com/repos/denoland/deno_std/pulls/comments/245352906","pull_request_review_id":189438985,"id":245352906,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0NTM1MjkwNg==","diff_hunk":"@@ -0,0 +1,28 @@\n+// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.\n+import { BufReader } from \"./bufio.ts\";\n+\n+export async function readShort(buf: BufReader) {\n+  const [high, low] = [await buf.readByte(), await buf.readByte()];\n+  return (high << 8) | low;\n+}\n+\n+export async function readInt(buf: BufReader) {\n+  const [high, low] = [await readShort(buf), await readShort(buf)];\n+  return (high << 16) | low;\n+}\n+\n+export async function readLong(buf: BufReader) {\n+  const [high, low] = [await readInt(buf), await readInt(buf)];\n+  return (high << 32) | low;\n+}\n+\n+export function sliceLongToBytes(d: number, dest = new Array(8)): number[] {","path":"net/ioutil.ts","position":19,"original_position":19,"commit_id":"370b03d351c665d745e4094beb9fb0653d8818ba","original_commit_id":"370b03d351c665d745e4094beb9fb0653d8818ba","user":{"login":"ry","id":80,"node_id":"MDQ6VXNlcjgw","avatar_url":"https://avatars1.githubusercontent.com/u/80?v=4","gravatar_id":"","url":"https://api.github.com/users/ry","html_url":"https://github.com/ry","followers_url":"https://api.github.com/users/ry/followers","following_url":"https://api.github.com/users/ry/following{/other_user}","gists_url":"https://api.github.com/users/ry/gists{/gist_id}","starred_url":"https://api.github.com/users/ry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ry/subscriptions","organizations_url":"https://api.github.com/users/ry/orgs","repos_url":"https://api.github.com/users/ry/repos","events_url":"https://api.github.com/users/ry/events{/privacy}","received_events_url":"https://api.github.com/users/ry/received_events","type":"User","site_admin":false},"body":"JS Docs would be nice here. Optional for initial code dump.","created_at":"2019-01-04T16:44:39Z","updated_at":"2019-01-04T16:46:49Z","html_url":"https://github.com/denoland/deno_std/pull/84#discussion_r245352906","pull_request_url":"https://api.github.com/repos/denoland/deno_std/pulls/84","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/denoland/deno_std/pulls/comments/245352906"},"html":{"href":"https://github.com/denoland/deno_std/pull/84#discussion_r245352906"},"pull_request":{"href":"https://api.github.com/repos/denoland/deno_std/pulls/84"}}},"pull_request":{"url":"https://api.github.com/repos/denoland/deno_std/pulls/84","id":242198940,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQyMTk4OTQw","html_url":"https://github.com/denoland/deno_std/pull/84","diff_url":"https://github.com/denoland/deno_std/pull/84.diff","patch_url":"https://github.com/denoland/deno_std/pull/84.patch","issue_url":"https://api.github.com/repos/denoland/deno_std/issues/84","number":84,"state":"open","locked":false,"title":"Ws","user":{"login":"keroxp","id":927286,"node_id":"MDQ6VXNlcjkyNzI4Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/927286?v=4","gravatar_id":"","url":"https://api.github.com/users/keroxp","html_url":"https://github.com/keroxp","followers_url":"https://api.github.com/users/keroxp/followers","following_url":"https://api.github.com/users/keroxp/following{/other_user}","gists_url":"https://api.github.com/users/keroxp/gists{/gist_id}","starred_url":"https://api.github.com/users/keroxp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keroxp/subscriptions","organizations_url":"https://api.github.com/users/keroxp/orgs","repos_url":"https://api.github.com/users/keroxp/repos","events_url":"https://api.github.com/users/keroxp/events{/privacy}","received_events_url":"https://api.github.com/users/keroxp/received_events","type":"User","site_admin":false},"body":"- PR for #29 \r\n- ported websocket server from https://github.com/keroxp/deno-ws\r\n- codes except module path are untouched from current upstream\r\n- SHA1 function was ported from https://github.com/emn178/js-sha1","created_at":"2019-01-04T08:17:00Z","updated_at":"2019-01-04T16:46:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27b88fb1cedaf6994af47eedbca5d11eb32546ab","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/denoland/deno_std/pulls/84/commits","review_comments_url":"https://api.github.com/repos/denoland/deno_std/pulls/84/comments","review_comment_url":"https://api.github.com/repos/denoland/deno_std/pulls/comments{/number}","comments_url":"https://api.github.com/repos/denoland/deno_std/issues/84/comments","statuses_url":"https://api.github.com/repos/denoland/deno_std/statuses/370b03d351c665d745e4094beb9fb0653d8818ba","head":{"label":"keroxp:ws","ref":"ws","sha":"370b03d351c665d745e4094beb9fb0653d8818ba","user":{"login":"keroxp","id":927286,"node_id":"MDQ6VXNlcjkyNzI4Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/927286?v=4","gravatar_id":"","url":"https://api.github.com/users/keroxp","html_url":"https://github.com/keroxp","followers_url":"https://api.github.com/users/keroxp/followers","following_url":"https://api.github.com/users/keroxp/following{/other_user}","gists_url":"https://api.github.com/users/keroxp/gists{/gist_id}","starred_url":"https://api.github.com/users/keroxp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keroxp/subscriptions","organizations_url":"https://api.github.com/users/keroxp/orgs","repos_url":"https://api.github.com/users/keroxp/repos","events_url":"https://api.github.com/users/keroxp/events{/privacy}","received_events_url":"https://api.github.com/users/keroxp/received_events","type":"User","site_admin":false},"repo":{"id":164075680,"node_id":"MDEwOlJlcG9zaXRvcnkxNjQwNzU2ODA=","name":"deno_std","full_name":"keroxp/deno_std","private":false,"owner":{"login":"keroxp","id":927286,"node_id":"MDQ6VXNlcjkyNzI4Ng==","avatar_url":"https://avatars2.githubusercontent.com/u/927286?v=4","gravatar_id":"","url":"https://api.github.com/users/keroxp","html_url":"https://github.com/keroxp","followers_url":"https://api.github.com/users/keroxp/followers","following_url":"https://api.github.com/users/keroxp/following{/other_user}","gists_url":"https://api.github.com/users/keroxp/gists{/gist_id}","starred_url":"https://api.github.com/users/keroxp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keroxp/subscriptions","organizations_url":"https://api.github.com/users/keroxp/orgs","repos_url":"https://api.github.com/users/keroxp/repos","events_url":"https://api.github.com/users/keroxp/events{/privacy}","received_events_url":"https://api.github.com/users/keroxp/received_events","type":"User","site_admin":false},"html_url":"https://github.com/keroxp/deno_std","description":"deno standard modules","fork":true,"url":"https://api.github.com/repos/keroxp/deno_std","forks_url":"https://api.github.com/repos/keroxp/deno_std/forks","keys_url":"https://api.github.com/repos/keroxp/deno_std/keys{/key_id}","collaborators_url":"https://api.github.com/repos/keroxp/deno_std/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/keroxp/deno_std/teams","hooks_url":"https://api.github.com/repos/keroxp/deno_std/hooks","issue_events_url":"https://api.github.com/repos/keroxp/deno_std/issues/events{/number}","events_url":"https://api.github.com/repos/keroxp/deno_std/events","assignees_url":"https://api.github.com/repos/keroxp/deno_std/assignees{/user}","branches_url":"https://api.github.com/repos/keroxp/deno_std/branches{/branch}","tags_url":"https://api.github.com/repos/keroxp/deno_std/tags","blobs_url":"https://api.github.com/repos/keroxp/deno_std/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/keroxp/deno_std/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/keroxp/deno_std/git/refs{/sha}","trees_url":"https://api.github.com/repos/keroxp/deno_std/git/trees{/sha}","statuses_url":"https://api.github.com/repos/keroxp/deno_std/statuses/{sha}","languages_url":"https://api.github.com/repos/keroxp/deno_std/languages","stargazers_url":"https://api.github.com/repos/keroxp/deno_std/stargazers","contributors_url":"https://api.github.com/repos/keroxp/deno_std/contributors","subscribers_url":"https://api.github.com/repos/keroxp/deno_std/subscribers","subscription_url":"https://api.github.com/repos/keroxp/deno_std/subscription","commits_url":"https://api.github.com/repos/keroxp/deno_std/commits{/sha}","git_commits_url":"https://api.github.com/repos/keroxp/deno_std/git/commits{/sha}","comments_url":"https://api.github.com/repos/keroxp/deno_std/comments{/number}","issue_comment_url":"https://api.github.com/repos/keroxp/deno_std/issues/comments{/number}","contents_url":"https://api.github.com/repos/keroxp/deno_std/contents/{+path}","compare_url":"https://api.github.com/repos/keroxp/deno_std/compare/{base}...{head}","merges_url":"https://api.github.com/repos/keroxp/deno_std/merges","archive_url":"https://api.github.com/repos/keroxp/deno_std/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/keroxp/deno_std/downloads","issues_url":"https://api.github.com/repos/keroxp/deno_std/issues{/number}","pulls_url":"https://api.github.com/repos/keroxp/deno_std/pulls{/number}","milestones_url":"https://api.github.com/repos/keroxp/deno_std/milestones{/number}","notifications_url":"https://api.github.com/repos/keroxp/deno_std/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/keroxp/deno_std/labels{/name}","releases_url":"https://api.github.com/repos/keroxp/deno_std/releases{/id}","deployments_url":"https://api.github.com/repos/keroxp/deno_std/deployments","created_at":"2019-01-04T07:47:18Z","updated_at":"2019-01-04T07:47:20Z","pushed_at":"2019-01-04T16:05:47Z","git_url":"git://github.com/keroxp/deno_std.git","ssh_url":"git@github.com:keroxp/deno_std.git","clone_url":"https://github.com/keroxp/deno_std.git","svn_url":"https://github.com/keroxp/deno_std","homepage":"https://deno.land/x/","size":170,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"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":"denoland:master","ref":"master","sha":"2916791dfb14bf486185eca6c7859b49c1c4c052","user":{"login":"denoland","id":42048915,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMDQ4OTE1","avatar_url":"https://avatars1.githubusercontent.com/u/42048915?v=4","gravatar_id":"","url":"https://api.github.com/users/denoland","html_url":"https://github.com/denoland","followers_url":"https://api.github.com/users/denoland/followers","following_url":"https://api.github.com/users/denoland/following{/other_user}","gists_url":"https://api.github.com/users/denoland/gists{/gist_id}","starred_url":"https://api.github.com/users/denoland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denoland/subscriptions","organizations_url":"https://api.github.com/users/denoland/orgs","repos_url":"https://api.github.com/users/denoland/repos","events_url":"https://api.github.com/users/denoland/events{/privacy}","received_events_url":"https://api.github.com/users/denoland/received_events","type":"Organization","site_admin":false},"repo":{"id":156498505,"node_id":"MDEwOlJlcG9zaXRvcnkxNTY0OTg1MDU=","name":"deno_std","full_name":"denoland/deno_std","private":false,"owner":{"login":"denoland","id":42048915,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQyMDQ4OTE1","avatar_url":"https://avatars1.githubusercontent.com/u/42048915?v=4","gravatar_id":"","url":"https://api.github.com/users/denoland","html_url":"https://github.com/denoland","followers_url":"https://api.github.com/users/denoland/followers","following_url":"https://api.github.com/users/denoland/following{/other_user}","gists_url":"https://api.github.com/users/denoland/gists{/gist_id}","starred_url":"https://api.github.com/users/denoland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denoland/subscriptions","organizations_url":"https://api.github.com/users/denoland/orgs","repos_url":"https://api.github.com/users/denoland/repos","events_url":"https://api.github.com/users/denoland/events{/privacy}","received_events_url":"https://api.github.com/users/denoland/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/denoland/deno_std","description":"deno standard modules","fork":false,"url":"https://api.github.com/repos/denoland/deno_std","forks_url":"https://api.github.com/repos/denoland/deno_std/forks","keys_url":"https://api.github.com/repos/denoland/deno_std/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denoland/deno_std/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denoland/deno_std/teams","hooks_url":"https://api.github.com/repos/denoland/deno_std/hooks","issue_events_url":"https://api.github.com/repos/denoland/deno_std/issues/events{/number}","events_url":"https://api.github.com/repos/denoland/deno_std/events","assignees_url":"https://api.github.com/repos/denoland/deno_std/assignees{/user}","branches_url":"https://api.github.com/repos/denoland/deno_std/branches{/branch}","tags_url":"https://api.github.com/repos/denoland/deno_std/tags","blobs_url":"https://api.github.com/repos/denoland/deno_std/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denoland/deno_std/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denoland/deno_std/git/refs{/sha}","trees_url":"https://api.github.com/repos/denoland/deno_std/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denoland/deno_std/statuses/{sha}","languages_url":"https://api.github.com/repos/denoland/deno_std/languages","stargazers_url":"https://api.github.com/repos/denoland/deno_std/stargazers","contributors_url":"https://api.github.com/repos/denoland/deno_std/contributors","subscribers_url":"https://api.github.com/repos/denoland/deno_std/subscribers","subscription_url":"https://api.github.com/repos/denoland/deno_std/subscription","commits_url":"https://api.github.com/repos/denoland/deno_std/commits{/sha}","git_commits_url":"https://api.github.com/repos/denoland/deno_std/git/commits{/sha}","comments_url":"https://api.github.com/repos/denoland/deno_std/comments{/number}","issue_comment_url":"https://api.github.com/repos/denoland/deno_std/issues/comments{/number}","contents_url":"https://api.github.com/repos/denoland/deno_std/contents/{+path}","compare_url":"https://api.github.com/repos/denoland/deno_std/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denoland/deno_std/merges","archive_url":"https://api.github.com/repos/denoland/deno_std/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denoland/deno_std/downloads","issues_url":"https://api.github.com/repos/denoland/deno_std/issues{/number}","pulls_url":"https://api.github.com/repos/denoland/deno_std/pulls{/number}","milestones_url":"https://api.github.com/repos/denoland/deno_std/milestones{/number}","notifications_url":"https://api.github.com/repos/denoland/deno_std/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denoland/deno_std/labels{/name}","releases_url":"https://api.github.com/repos/denoland/deno_std/releases{/id}","deployments_url":"https://api.github.com/repos/denoland/deno_std/deployments","created_at":"2018-11-07T06:10:08Z","updated_at":"2019-01-04T16:15:04Z","pushed_at":"2019-01-04T16:38:40Z","git_url":"git://github.com/denoland/deno_std.git","ssh_url":"git@github.com:denoland/deno_std.git","clone_url":"https://github.com/denoland/deno_std.git","svn_url":"https://github.com/denoland/deno_std","homepage":"https://deno.land/x/","size":166,"stargazers_count":222,"watchers_count":222,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":24,"mirror_url":null,"archived":false,"open_issues_count":18,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":24,"open_issues":18,"watchers":222,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/denoland/deno_std/pulls/84"},"html":{"href":"https://github.com/denoland/deno_std/pull/84"},"issue":{"href":"https://api.github.com/repos/denoland/deno_std/issues/84"},"comments":{"href":"https://api.github.com/repos/denoland/deno_std/issues/84/comments"},"review_comments":{"href":"https://api.github.com/repos/denoland/deno_std/pulls/84/comments"},"review_comment":{"href":"https://api.github.com/repos/denoland/deno_std/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/denoland/deno_std/pulls/84/commits"},"statuses":{"href":"https://api.github.com/repos/denoland/deno_std/statuses/370b03d351c665d745e4094beb9fb0653d8818ba"}},"author_association":"NONE"}}
{"actor":{"display_login":"ry"}}