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: patch-diff.githubusercontent.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:341715ae-0ea4-2b73-030e-e060d5b0aa0d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idEBEA:945DC:8ECAF4:C02D88:696E8443
html-safe-nonce8921c4d144cbd7c98ebbe0127bb11ed12794ad8968eda09f7312925786633b6e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFQkVBOjk0NURDOjhFQ0FGNDpDMDJEODg6Njk2RTg0NDMiLCJ2aXNpdG9yX2lkIjoiODk5NjcyMTE2ODM5NTE3NDk3OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2afa3402015ffeaabd0c8b9c260f6c9fc011b9c2614eedd7eb593b05e093764f
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
Nonefdad15fd2ad43212aa8b8be5f2c2725550f8374ceeeb154a999ad9145b43f3f7
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
release27b23bc056eb973d350fc95afc848757edb9e7a9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974#start-of-content
https://patch-diff.githubusercontent.com/
Sign in https://patch-diff.githubusercontent.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://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F2974
Sign up https://patch-diff.githubusercontent.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://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
Reloadhttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
Reloadhttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
AssemblyScript https://patch-diff.githubusercontent.com/AssemblyScript
assemblyscripthttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript
Please reload this pagehttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
Notifications https://patch-diff.githubusercontent.com/login?return_to=%2FAssemblyScript%2Fassemblyscript
Fork 682 https://patch-diff.githubusercontent.com/login?return_to=%2FAssemblyScript%2Fassemblyscript
Star 17.8k https://patch-diff.githubusercontent.com/login?return_to=%2FAssemblyScript%2Fassemblyscript
Code https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript
Issues 175 https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/issues
Pull requests 17 https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pulls
Actions https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/actions
Wiki https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/security
Please reload this pagehttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
Insights https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pulse
Code https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript
Issues https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/issues
Pull requests https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pulls
Actions https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/actions
Wiki https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/wiki
Security https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/security
Insights https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pulse
Sign up for GitHub https://patch-diff.githubusercontent.com/signup?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://patch-diff.githubusercontent.com/login?return_to=%2FAssemblyScript%2Fassemblyscript%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974#issue-comment-box
geraintluffhttps://patch-diff.githubusercontent.com/geraintluff
AssemblyScript:mainhttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/tree/main
geraintluff:memoryDataUTF8https://patch-diff.githubusercontent.com/geraintluff/assemblyscript/tree/memoryDataUTF8
feat: Add memory.dataUTF8() built-in function https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974#top
geraintluffhttps://patch-diff.githubusercontent.com/geraintluff
AssemblyScript:mainhttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/tree/main
geraintluff:memoryDataUTF8https://patch-diff.githubusercontent.com/geraintluff/assemblyscript/tree/memoryDataUTF8
Conversation 5 https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
Commits 4 https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/commits
Checks 14 https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/checks
Files changed 7 https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/files
https://github.co/hiddenchars
https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/{{ revealButtonHref }}
https://patch-diff.githubusercontent.com/geraintluff
geraintluffhttps://patch-diff.githubusercontent.com/geraintluff
Jan 13, 2026https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974#issue-3808648005
#2972https://github.com/AssemblyScript/assemblyscript/issues/2972
Please reload this pagehttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
geraintluffhttps://patch-diff.githubusercontent.com/geraintluff
January 13, 2026 12:16https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974#commits-pushed-231750d
https://patch-diff.githubusercontent.com/geraintluff
Add memory.dataUTF8() built-in functionhttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/commits/231750dd931a2120f6b4b328ba924636c95087bb
231750dhttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/commits/231750dd931a2120f6b4b328ba924636c95087bb
https://patch-diff.githubusercontent.com/geraintluff
Add to NOTICEhttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/commits/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff
7f1f5a8https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/commits/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff
https://patch-diff.githubusercontent.com/geraintluff
geraintluffhttps://patch-diff.githubusercontent.com/geraintluff
Jan 13, 2026 https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974#pullrequestreview-3655560019
View reviewed changes https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/files/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff
src/builtins.tshttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/files/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff#diff-0851379421de0a6c8a72831330cc0e61e971152eac283d94ec000ad493db31cc
geraintluffhttps://patch-diff.githubusercontent.com/geraintluff
Jan 13, 2026https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974#discussion_r2686227656
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
https://patch-diff.githubusercontent.com/geraintluff
geraintluffhttps://patch-diff.githubusercontent.com/geraintluff
Jan 13, 2026https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974#issuecomment-3744181799
here's a diffhttps://github.com/geraintluff/as-clap/commit/2707a74628badada1d9c2d8fe149da85b70b3b00
Please reload this pagehttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
https://patch-diff.githubusercontent.com/geraintluff
geraintluffhttps://patch-diff.githubusercontent.com/geraintluff
Jan 14, 2026https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974#event-22030908037
https://patch-diff.githubusercontent.com/dcodeIO
dcodeIOhttps://patch-diff.githubusercontent.com/dcodeIO
Jan 14, 2026 https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974#pullrequestreview-3660450176
View reviewed changes https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/files/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff
src/builtins.tshttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/files/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff#diff-0851379421de0a6c8a72831330cc0e61e971152eac283d94ec000ad493db31cc
Please reload this pagehttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
https://patch-diff.githubusercontent.com/geraintluff
Add utf16ToUtf8() helper, instead of trying to use TextEncoderhttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/commits/90eab32612848e916cb505129f68404134b5f07f
90eab32https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/commits/90eab32612848e916cb505129f68404134b5f07f
https://patch-diff.githubusercontent.com/geraintluff
geraintluffhttps://patch-diff.githubusercontent.com/geraintluff
Jan 15, 2026https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974#issuecomment-3753813879
Please reload this pagehttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
@dcodeIOhttps://github.com/dcodeIO
Please reload this pagehttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
https://patch-diff.githubusercontent.com/geraintluff
Trim UTF8 buffer to size after encodinghttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/commits/5d54b3c0c7c6b8951f42d45d1537c61ca4133db4
5d54b3chttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/commits/5d54b3c0c7c6b8951f42d45d1537c61ca4133db4
Sign up for freehttps://patch-diff.githubusercontent.com/join?source=comment-repo
Sign in to commenthttps://patch-diff.githubusercontent.com/login?return_to=https%3A%2F%2Fgithub.com%2FAssemblyScript%2Fassemblyscript%2Fpull%2F2974
https://patch-diff.githubusercontent.com/dcodeIO
dcodeIO https://patch-diff.githubusercontent.com/dcodeIO
https://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974/files/7f1f5a8cad016ae97498f9557ebb0a074bbd9aff
Please reload this pagehttps://patch-diff.githubusercontent.com/AssemblyScript/assemblyscript/pull/2974
https://patch-diff.githubusercontent.com/geraintluff
https://patch-diff.githubusercontent.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.