Skip to content

Add base64 encoding and decoding functions with tests (backport #533) - #537

Closed
mergify[bot] wants to merge 2 commits into
humblefrom
mergify/bp/humble/pr-533
Closed

mergify[bot] wants to merge 2 commits into
humblefrom
mergify/bp/humble/pr-533

Conversation

@mergify

@mergify mergify Bot commented Feb 3, 2026

Copy link
Copy Markdown

Description

Add base64 encode and decode functionality. This is necessary when configuring binary data in YAML files.

The related issue is ros2/rcl#1256.

Is this user-facing behavior change?

No.

Did you use Generative AI?

Yes. The GitHub Copilot (Claude Sonnet 4.5) is used to generate code comments, some parts of the code, and test code.

Additional Information


This is an automatic backport of pull request #533 done by [Mergify](https://mergify.com).

Signed-off-by: Barry Xu <barry.xu@sony.com>
Signed-off-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
Co-authored-by: Alejandro Hernández Cordero <ahcorde@gmail.com>
(cherry picked from commit f322436)

# Conflicts:
#	CMakeLists.txt
@mergify mergify Bot added the conflicts label Feb 3, 2026
@mergify

mergify Bot commented Feb 3, 2026

Copy link
Copy Markdown
Author

Cherry-pick of f322436 has failed:

On branch mergify/bp/humble/pr-533
Your branch is up to date with 'origin/humble'.

You are currently cherry-picking commit f322436.
  (fix conflicts and run "git cherry-pick --continue")
  (use "git cherry-pick --skip" to skip this patch)
  (use "git cherry-pick --abort" to cancel the cherry-pick operation)

Changes to be committed:
	new file:   include/rcutils/base64.h
	new file:   src/base64.c
	new file:   test/test_base64.cpp

Unmerged paths:
  (use "git add <file>..." to mark resolution)
	both modified:   CMakeLists.txt

To fix up this pull request, you can check it out locally. See documentation: https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/checking-out-pull-requests-locally

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde
ahcorde deleted the mergify/bp/humble/pr-533 branch October 19, 2026 20:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants