Skip to content

Conversation

@xikaos
Copy link

@xikaos xikaos commented Sep 16, 2025

Issue

#865

Summary

Replace bit_array existing base64 FFI function names following the convention `baseXX_operation() that already existed in base16 FFI function names.

base64_encode()

Erlang: bit_array_base64_encode() -> base64_encode().
JS: encode64() -> base64_encode()

decode64() - bit_array internal function

Erlang: base_decode64 -> base64_decode()
JS: decode64() -> base64_decode()

@xikaos xikaos force-pushed the chore/base-ffi-naming-conventions branch from 9add60b to edde488 Compare September 16, 2025 20:54
@xikaos xikaos changed the title [Draft] chore: rename base64 FFI functions chore: rename base64 FFI functions Sep 16, 2025
@xikaos
Copy link
Author

xikaos commented Sep 16, 2025

Gleamland has spoken:

baseXX_operation() it is!

Unmarking this PR as draft and then this might be almost close to mergeable?

Copy link
Member

@lpil lpil left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Brilliant! Thank you!!

@lpil lpil merged commit cc3c4dd into gleam-lang:main Sep 17, 2025
7 checks passed
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