| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:dec259a1-f46b-016e-579e-7480765f0a4a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | 82CC:C2FBA:DDBF:13A93:6B005FE3 |
| html-safe-nonce | dd0db9408067422148f05d1947a21c82e84c9de0187a793599a7434c98293b36 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MkNDOkMyRkJBOkREQkY6MTNBOTM6NkIwMDVGRTMiLCJ2aXNpdG9yX2lkIjoiMTc2ODUxNTgwMTY4MzM1MzU3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5ce2ecf4dd938dff0c9f15783b8e14bd5282a466f11a6f67511149a2a9403d8e |
| hovercard-subject-tag | pull_request:299435761 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///pull_requests/show/files |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/AssemblyScript/node/pull/6/files |
| twitter:image | https://avatars.githubusercontent.com/u/3761339?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/3761339?s=400&v=4 |
| og:image:alt | Implements Buffer.from<T>(value: T) and a few other convenience functions.
There are lots of obvious problems with not having the function overloads, but there are different paths we can take... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 29be975efff6507a5d135de9c7d634cf7ff8f0c55222a64386ab3202209aaf73 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/AssemblyScript/node git https://github.com/AssemblyScript/node.git |
| octolytics-dimension-user_id | 28916798 |
| octolytics-dimension-user_login | AssemblyScript |
| octolytics-dimension-repository_id | 197036299 |
| octolytics-dimension-repository_nwo | AssemblyScript/node |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 197036299 |
| octolytics-dimension-repository_network_root_nwo | AssemblyScript/node |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | eacd927ba6112e3b01ba99c762bd699a4a4f5df7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| Skip to content | https://github.com/AssemblyScript/node/pull/6/files#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fnode%2Fpull%2F6%2Ffiles |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fnode%2Fpull%2F6%2Ffiles |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=AssemblyScript%2Fnode |
| Reload | https://github.com/AssemblyScript/node/pull/6/files |
| Reload | https://github.com/AssemblyScript/node/pull/6/files |
| Reload | https://github.com/AssemblyScript/node/pull/6/files |
| AssemblyScript | https://github.com/AssemblyScript |
| node | https://github.com/AssemblyScript/node |
| Code | https://github.com/AssemblyScript/node |
| Issues2 (2) | https://github.com/AssemblyScript/node/issues |
| Pull requests10 (10) | https://github.com/AssemblyScript/node/pulls |
| Actions | https://github.com/AssemblyScript/node/actions |
| Projects | https://github.com/AssemblyScript/node/projects |
| Wiki | https://github.com/AssemblyScript/node/wiki |
| Security and quality | https://github.com/AssemblyScript/node/security |
| Insights | https://github.com/AssemblyScript/node/insights |
| Sign up for GitHub
| https://github.com/signup?return_to=%2FAssemblyScript%2Fnode%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2FAssemblyScript%2Fnode%2Fissues%2Fnew%2Fchoose |
| jtenner | https://github.com/jtenner |
| main | https://github.com/AssemblyScript/node/tree/main |
| from | https://github.com/AssemblyScript/node/tree/from |
|
Conversation
7
| https://github.com/AssemblyScript/node/pull/6 |
|
Commits
15
| https://github.com/AssemblyScript/node/pull/6/commits |
|
Checks
0
| https://github.com/AssemblyScript/node/pull/6/checks |
|
Files changed
| https://github.com/AssemblyScript/node/pull/6/files |
| Please reload this page | https://github.com/AssemblyScript/node/pull/6/files |
|
[Implement] Naive Buffer.from, and friends
| https://github.com/AssemblyScript/node/pull/6/files#top |
|
Show all changes
15 commits
| https://github.com/AssemblyScript/node/pull/6/files |
|
62b4dc9
[Implement] Naive Buffer.from
jtenner Jul 19, 2019
| https://github.com/AssemblyScript/node/pull/6/commits/62b4dc92ccd67675bedabeb23bc93de65436d1dc |
|
3b67754
[Cleanup] remove log function
jtenner Jul 20, 2019
| https://github.com/AssemblyScript/node/pull/6/commits/3b677540651ede21eacebab5e33077ce0d8e7e3f |
|
c2a6432
[Cleanup] add T extends ArrayBufferView to squelch intellisense
jtenner Jul 20, 2019
| https://github.com/AssemblyScript/node/pull/6/commits/c2a64325e5d7564c9c69765505d25e69fa483b26 |
|
daf9dc1
[Chore] merge master
jtenner Jul 23, 2019
| https://github.com/AssemblyScript/node/pull/6/commits/daf9dc187080b3a8a4e11a4a0e5599ebfc06699f |
|
ba78bc9
Merge branch 'from' of https://github.com/AssemblyScript/node into from
jtenner Jul 23, 2019
| https://github.com/AssemblyScript/node/pull/6/commits/ba78bc92cd3a3b34ff97a7c8aae4556ac3c94703 |
|
66af315
Merge branch 'master' of https://github.com/AssemblyScript/node into …
jtenner Aug 6, 2019
| https://github.com/AssemblyScript/node/pull/6/commits/66af31556578f36e26ca0162e3a33e9f1f0aeb18 |
|
cc536a0
[merge] from master
jtenner Aug 6, 2019
| https://github.com/AssemblyScript/node/pull/6/commits/cc536a0fbba888414fca3bb589edac4267d8e907 |
|
c6997e1
[Fix] array of strings implementation
jtenner Aug 6, 2019
| https://github.com/AssemblyScript/node/pull/6/commits/c6997e1f719065c03787d97b524d5a41658205be |
|
a333399
Merge branch 'master' of https://github.com/assemblyscript/node into …
jtenner Aug 21, 2019
| https://github.com/AssemblyScript/node/pull/6/commits/a33339959c848e436f504a6063c4413408977fce |
|
45a61c5
[Implement] rest of buffer.from functions per dcode
jtenner Aug 22, 2019
| https://github.com/AssemblyScript/node/pull/6/commits/45a61c5599ebd5a80743f51501f4e111e389c51c |
|
a05852d
merge master, add helper assembleBuffer function, fix tests
jtenner Mar 13, 2020
| https://github.com/AssemblyScript/node/pull/6/commits/a05852d09b72a347fec702526e26c4d610248c74 |
|
7f69832
remove type info
jtenner Mar 13, 2020
| https://github.com/AssemblyScript/node/pull/6/commits/7f69832a3a5fb55c8f555f273a35e6821318a02a |
|
92c303d
Merge branch 'master' of https://github.com/assemblyscript/node into …
jtenner Mar 13, 2020
| https://github.com/AssemblyScript/node/pull/6/commits/92c303d02ec66e356fad0dfcaf7c44eb4c0de5f0 |
|
11be548
add ascii encoding
jtenner Mar 13, 2020
| https://github.com/AssemblyScript/node/pull/6/commits/11be548adfc246189130692b93c8d0c79d8dc7dc |
|
7f3e8c2
rename to allocBuffer
jtenner Mar 13, 2020
| https://github.com/AssemblyScript/node/pull/6/commits/7f3e8c2089ac2e903ac574c415c71d0f78b950c0 |
|
Clear filters
| https://github.com/AssemblyScript/node/pull/6/files |
| Please reload this page | https://github.com/AssemblyScript/node/pull/6/files |
| Please reload this page | https://github.com/AssemblyScript/node/pull/6/files |
|
index.ts
| https://github.com/AssemblyScript/node/pull/6/files#diff-ce25df572d6523d74bce32c8d9d7594043a69675589ca95b88cd1d83ba968669 |
|
node.d.ts
| https://github.com/AssemblyScript/node/pull/6/files#diff-669fa8c1aaa009ed17c0c9f184f5f2dd68ce0a4e5c2d3695ac8002e2d8a710b2 |
|
buffer.spec.ts
| https://github.com/AssemblyScript/node/pull/6/files#diff-2c04e013811b340820227338ed3e99cae9729d46f53c1b8b3999d3a096744eba |
| assembly/buffer/index.ts | https://github.com/AssemblyScript/node/pull/6/files#diff-ce25df572d6523d74bce32c8d9d7594043a69675589ca95b88cd1d83ba968669 |
|
View file
| https://github.com/AssemblyScript/node/blob/7f3e8c2089ac2e903ac574c415c71d0f78b950c0/assembly/buffer/index.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/AssemblyScript/node/pull/6/{{ revealButtonHref }} |
|
| https://github.com/AssemblyScript/node/pull/6/files#diff-ce25df572d6523d74bce32c8d9d7594043a69675589ca95b88cd1d83ba968669 |
| jtenner | https://github.com/jtenner |
| Mar 13, 2020 | https://github.com/AssemblyScript/node/pull/6/files#r392023577 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| @dcodeIO | https://github.com/dcodeIO |
| Please reload this page | https://github.com/AssemblyScript/node/pull/6/files |
| jtenner | https://github.com/jtenner |
| Mar 13, 2020 | https://github.com/AssemblyScript/node/pull/6/files#r392023844 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/AssemblyScript/node/pull/6/files |
|
| https://github.com/AssemblyScript/node/pull/6/files#diff-ce25df572d6523d74bce32c8d9d7594043a69675589ca95b88cd1d83ba968669 |
|
| https://github.com/AssemblyScript/node/pull/6/files#diff-ce25df572d6523d74bce32c8d9d7594043a69675589ca95b88cd1d83ba968669 |
| assembly/node.d.ts | https://github.com/AssemblyScript/node/pull/6/files#diff-669fa8c1aaa009ed17c0c9f184f5f2dd68ce0a4e5c2d3695ac8002e2d8a710b2 |
|
View file
| https://github.com/AssemblyScript/node/blob/7f3e8c2089ac2e903ac574c415c71d0f78b950c0/assembly/node.d.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/AssemblyScript/node/pull/6/{{ revealButtonHref }} |
|
| https://github.com/AssemblyScript/node/pull/6/files#diff-669fa8c1aaa009ed17c0c9f184f5f2dd68ce0a4e5c2d3695ac8002e2d8a710b2 |
|
| https://github.com/AssemblyScript/node/pull/6/files#diff-669fa8c1aaa009ed17c0c9f184f5f2dd68ce0a4e5c2d3695ac8002e2d8a710b2 |
| tests/buffer.spec.ts | https://github.com/AssemblyScript/node/pull/6/files#diff-2c04e013811b340820227338ed3e99cae9729d46f53c1b8b3999d3a096744eba |
|
View file
| https://github.com/AssemblyScript/node/blob/7f3e8c2089ac2e903ac574c415c71d0f78b950c0/tests/buffer.spec.ts |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/AssemblyScript/node/pull/6/{{ revealButtonHref }} |
|
| https://github.com/AssemblyScript/node/pull/6/files#diff-2c04e013811b340820227338ed3e99cae9729d46f53c1b8b3999d3a096744eba |
|
| https://github.com/AssemblyScript/node/pull/6/files#diff-2c04e013811b340820227338ed3e99cae9729d46f53c1b8b3999d3a096744eba |
|
| https://github.com/AssemblyScript/node/pull/6/files#diff-2c04e013811b340820227338ed3e99cae9729d46f53c1b8b3999d3a096744eba |
|
| https://github.com/AssemblyScript/node/pull/6/files#diff-2c04e013811b340820227338ed3e99cae9729d46f53c1b8b3999d3a096744eba |
|
| https://github.com/AssemblyScript/node/pull/6/files#diff-2c04e013811b340820227338ed3e99cae9729d46f53c1b8b3999d3a096744eba |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |