Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DVC-6731 set json config data with utf8 byte arrays #135

Merged
merged 13 commits into from
Mar 28, 2023

Conversation

chris-hoefgen
Copy link
Contributor

  • Changed the setConfigData(), setPlatformData(), setClientCustomData() to use the new Uint8Array versions in AssemblyScript to send proper utf-8 encoded string data into the WASM.

  • Adds a new assemblyScript util function to set Uint8Arrays outside of memory pools

  • New unit test and unit test data file that contains special characters to test encoding

@chris-hoefgen chris-hoefgen marked this pull request as draft March 22, 2023 22:56
@chris-hoefgen chris-hoefgen force-pushed the DVC-6731-set-config-utf8 branch from 39e6a41 to 36f1a8b Compare March 23, 2023 16:29
@chris-hoefgen chris-hoefgen marked this pull request as ready for review March 23, 2023 22:47
@chris-hoefgen chris-hoefgen force-pushed the DVC-6731-set-config-utf8 branch from ab9eabc to 310b572 Compare March 24, 2023 17:18
localbucketing.go Outdated Show resolved Hide resolved
@chris-hoefgen chris-hoefgen force-pushed the DVC-6731-set-config-utf8 branch from 96a38e0 to 43d5d40 Compare March 28, 2023 17:54
@chris-hoefgen chris-hoefgen merged commit 8a132f0 into main Mar 28, 2023
@chris-hoefgen chris-hoefgen deleted the DVC-6731-set-config-utf8 branch March 28, 2023 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants