Skip to content

ByteBuffer reference access implementation#3482

Merged
sbaluja merged 2 commits intomainfrom
byteBuffer-Access
Jul 21, 2025
Merged

ByteBuffer reference access implementation#3482
sbaluja merged 2 commits intomainfrom
byteBuffer-Access

Conversation

@sbaluja
Copy link
Contributor

@sbaluja sbaluja commented Jul 17, 2025

Issue #, if available:
#3031

Description of changes:

Implement a new function AccessB() that returns a reference to the byte buffer:

const Aws::Utils::ByteBuffer& AccessB() const override { return m_b; }

The changes are to the code generation velocity templates, and are only be scoped to the DynamoDB client.

Check all that applies:

  • Did a review by yourself.
  • Added proper tests to cover this PR. (If tests are not applicable, explain.)
  • Checked if this PR is a breaking (APIs have been changed) change.
  • Checked if this PR will not introduce cross-platform inconsistent behavior.
  • Checked if this PR would require a ReadMe/Wiki update.

Check which platforms you have built SDK on to verify the correctness of this PR.

  • Linux
  • Windows
  • Android
  • MacOS
  • IOS
  • Other Platforms

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

@sbaluja sbaluja force-pushed the byteBuffer-Access branch from fad1e6f to a7bdcff Compare July 21, 2025 14:05
@sbaluja sbaluja merged commit 2fa2000 into main Jul 21, 2025
6 checks passed
@sbaluja sbaluja deleted the byteBuffer-Access branch October 27, 2025 17:13
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.

2 participants