René's URL Explorer Experiment


Title: feat: Add `memory.dataUTF8()` built-in function by geraintluff · Pull Request #2974 · AssemblyScript/assemblyscript · GitHub

Open Graph Title: feat: Add `memory.dataUTF8()` built-in function by geraintluff · Pull Request #2974 · AssemblyScript/assemblyscript

X Title: feat: Add `memory.dataUTF8()` built-in function by geraintluff · Pull Request #2974 · AssemblyScript/assemblyscript

Description: Implements #2972, providing a way to embed UTF-8 string constants. Rationale UTF-16 strings are naturally embedded in the data section if you use a string constant ("...") in your code. If what you...

Open Graph Description: Implements #2972, providing a way to embed UTF-8 string constants. Rationale UTF-16 strings are naturally embedded in the data section if you use a string constant ("...") in your code. I...

X Description: Implements #2972, providing a way to embed UTF-8 string constants. Rationale UTF-16 strings are naturally embedded in the data section if you use a string constant ("...") in your...

Opengraph URL: https://github.com/AssemblyScript/assemblyscript/pull/2974

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:0fa98cbc-c7e8-ed0a-7f53-c76d20c2dfba
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idAA36:25671:917973:CA3EFD:696F4619
html-safe-noncedbcac90a81f8478d197e0de16e4aafbcbec9ed4737933fe656103ea6e98b40f7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQTM2OjI1NjcxOjkxNzk3MzpDQTNFRkQ6Njk2RjQ2MTkiLCJ2aXNpdG9yX2lkIjoiMTAxNjcxMTM3NzQwNjg3MTA2NSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac45c87d396da943607be65f21bb870a0a11640951800b36df85b94e964f1277e7
hovercard-subject-tagpull_request:3169548297
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/AssemblyScript/assemblyscript/2974/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/dbc8e3197ef67fe517ed95c5c71644f3e5da4fe5e4d11c77d5d9d4b65bf65a75/AssemblyScript/assemblyscript/pull/2974
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/dbc8e3197ef67fe517ed95c5c71644f3e5da4fe5e4d11c77d5d9d4b65bf65a75/AssemblyScript/assemblyscript/pull/2974
og:image:altImplements #2972, providing a way to embed UTF-8 string constants. Rationale UTF-16 strings are naturally embedded in the data section if you use a string constant ("...") in your code. I...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamegeraintluff
hostnamegithub.com
expected-hostnamegithub.com
Noneb278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee
turbo-cache-controlno-preview
go-importgithub.com/AssemblyScript/assemblyscript git https://github.com/AssemblyScript/assemblyscript.git
octolytics-dimension-user_id28916798
octolytics-dimension-user_loginAssemblyScript
octolytics-dimension-repository_id105138356
octolytics-dimension-repository_nwoAssemblyScript/assemblyscript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id105138356
octolytics-dimension-repository_network_root_nwoAssemblyScript/assemblyscript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release39aed5006635ab6f45e6b77d23e73b08a00272a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/AssemblyScript/assemblyscript/pull/2974#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F2974
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F2974
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%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=AssemblyScript%2Fassemblyscript
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/2974
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/2974
Reloadhttps://github.com/AssemblyScript/assemblyscript/pull/2974
AssemblyScript https://github.com/AssemblyScript
assemblyscripthttps://github.com/AssemblyScript/assemblyscript
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/2974
Notifications https://github.com/login?return_to=%2FAssemblyScript%2Fassemblyscript
Fork 682 https://github.com/login?return_to=%2FAssemblyScript%2Fassemblyscript
Star 17.8k https://github.com/login?return_to=%2FAssemblyScript%2Fassemblyscript
Code https://github.com/AssemblyScript/assemblyscript
Issues 175 https://github.com/AssemblyScript/assemblyscript/issues
Pull requests 17 https://github.com/AssemblyScript/assemblyscript/pulls
Actions https://github.com/AssemblyScript/assemblyscript/actions
Wiki https://github.com/AssemblyScript/assemblyscript/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/AssemblyScript/assemblyscript/security
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/2974
Insights https://github.com/AssemblyScript/assemblyscript/pulse
Code https://github.com/AssemblyScript/assemblyscript
Issues https://github.com/AssemblyScript/assemblyscript/issues
Pull requests https://github.com/AssemblyScript/assemblyscript/pulls
Actions https://github.com/AssemblyScript/assemblyscript/actions
Wiki https://github.com/AssemblyScript/assemblyscript/wiki
Security https://github.com/AssemblyScript/assemblyscript/security
Insights https://github.com/AssemblyScript/assemblyscript/pulse
Sign up for GitHub https://github.com/signup?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/AssemblyScript/assemblyscript/pull/2974#issue-comment-box
geraintluffhttps://github.com/geraintluff
AssemblyScript:mainhttps://github.com/AssemblyScript/assemblyscript/tree/main
geraintluff:memoryDataUTF8https://github.com/geraintluff/assemblyscript/tree/memoryDataUTF8
feat: Add memory.dataUTF8() built-in function https://github.com/AssemblyScript/assemblyscript/pull/2974#top
geraintluffhttps://github.com/geraintluff
AssemblyScript:mainhttps://github.com/AssemblyScript/assemblyscript/tree/main
geraintluff:memoryDataUTF8https://github.com/geraintluff/assemblyscript/tree/memoryDataUTF8
Conversation 5 https://github.com/AssemblyScript/assemblyscript/pull/2974
Commits 4 https://github.com/AssemblyScript/assemblyscript/pull/2974/commits
Checks 14 https://github.com/AssemblyScript/assemblyscript/pull/2974/checks
Files changed 7 https://github.com/AssemblyScript/assemblyscript/pull/2974/files
https://github.co/hiddenchars
https://github.com/AssemblyScript/assemblyscript/pull/{{ revealButtonHref }}
https://github.com/geraintluff
geraintluffhttps://github.com/geraintluff
Jan 13, 2026https://github.com/AssemblyScript/assemblyscript/pull/2974#issue-3808648005
#2972https://github.com/AssemblyScript/assemblyscript/issues/2972
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/2974
geraintluffhttps://github.com/geraintluff
January 13, 2026 12:16https://github.com/AssemblyScript/assemblyscript/pull/2974#commits-pushed-231750d
https://github.com/geraintluff
Add memory.dataUTF8() built-in functionhttps://github.com/AssemblyScript/assemblyscript/pull/2974/commits/231750dd931a2120f6b4b328ba924636c95087bb
231750dhttps://github.com/AssemblyScript/assemblyscript/pull/2974/commits/231750dd931a2120f6b4b328ba924636c95087bb
https://github.com/geraintluff
Add to NOTICEhttps://github.com/AssemblyScript/assemblyscript/pull/2974/commits/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff
7f1f5a8https://github.com/AssemblyScript/assemblyscript/pull/2974/commits/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff
https://github.com/geraintluff
geraintluffhttps://github.com/geraintluff
Jan 13, 2026 https://github.com/AssemblyScript/assemblyscript/pull/2974#pullrequestreview-3655560019
View reviewed changes https://github.com/AssemblyScript/assemblyscript/pull/2974/files/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff
src/builtins.tshttps://github.com/AssemblyScript/assemblyscript/pull/2974/files/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff#diff-0851379421de0a6c8a72831330cc0e61e971152eac283d94ec000ad493db31cc
geraintluffhttps://github.com/geraintluff
Jan 13, 2026https://github.com/AssemblyScript/assemblyscript/pull/2974#discussion_r2686227656
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/2974
https://github.com/geraintluff
geraintluffhttps://github.com/geraintluff
Jan 13, 2026https://github.com/AssemblyScript/assemblyscript/pull/2974#issuecomment-3744181799
here's a diffhttps://github.com/geraintluff/as-clap/commit/2707a74628badada1d9c2d8fe149da85b70b3b00
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/2974
https://github.com/geraintluff
geraintluffhttps://github.com/geraintluff
Jan 14, 2026https://github.com/AssemblyScript/assemblyscript/pull/2974#event-22030908037
https://github.com/dcodeIO
dcodeIOhttps://github.com/dcodeIO
Jan 14, 2026 https://github.com/AssemblyScript/assemblyscript/pull/2974#pullrequestreview-3660450176
View reviewed changes https://github.com/AssemblyScript/assemblyscript/pull/2974/files/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff
src/builtins.tshttps://github.com/AssemblyScript/assemblyscript/pull/2974/files/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff#diff-0851379421de0a6c8a72831330cc0e61e971152eac283d94ec000ad493db31cc
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/2974
https://github.com/geraintluff
Add utf16ToUtf8() helper, instead of trying to use TextEncoderhttps://github.com/AssemblyScript/assemblyscript/pull/2974/commits/90eab32612848e916cb505129f68404134b5f07f
90eab32https://github.com/AssemblyScript/assemblyscript/pull/2974/commits/90eab32612848e916cb505129f68404134b5f07f
https://github.com/geraintluff
geraintluffhttps://github.com/geraintluff
Jan 15, 2026https://github.com/AssemblyScript/assemblyscript/pull/2974#issuecomment-3753813879
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/2974
@dcodeIOhttps://github.com/dcodeIO
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/2974
https://github.com/geraintluff
Trim UTF8 buffer to size after encodinghttps://github.com/AssemblyScript/assemblyscript/pull/2974/commits/5d54b3c0c7c6b8951f42d45d1537c61ca4133db4
5d54b3chttps://github.com/AssemblyScript/assemblyscript/pull/2974/commits/5d54b3c0c7c6b8951f42d45d1537c61ca4133db4
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F2974
https://github.com/dcodeIO
dcodeIO https://github.com/dcodeIO
https://github.com/AssemblyScript/assemblyscript/pull/2974/files/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff
Please reload this pagehttps://github.com/AssemblyScript/assemblyscript/pull/2974
https://github.com/geraintluff
https://github.com/dcodeIO
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.