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

Use base64 en/decoder from context in bindings #419

Merged

Conversation

JordonPhillips
Copy link
Contributor

@JordonPhillips JordonPhillips commented Sep 14, 2021

This updates the http binding generator to use the context's http encoder / decoder for base64 rather than relying on Buffer's implementation. We do still use Buffer for converting between utf8 and Uint8Array though.

Codegen pr: aws/aws-sdk-js-v3#2786

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

This updates the http binding generator to use the context's http
encoder / decoder for base64 rather than relying on Buffer's
implementation. We do still use Buffer for converting between utf8
and Uint8Array though.
@JordonPhillips JordonPhillips merged commit e5cf6d5 into smithy-lang:main Sep 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants