Skip to content

stdlib: base64 stream decoder#21348

Open
Arwalk wants to merge 4 commits intoziglang:masterfrom
Arwalk:master
Open

stdlib: base64 stream decoder#21348
Arwalk wants to merge 4 commits intoziglang:masterfrom
Arwalk:master

Conversation

@Arwalk
Copy link
Contributor

@Arwalk Arwalk commented Sep 8, 2024

Decoding part related to #20961.

This proposes stream-friendly interface for base64 decoding (decoding to stream, decoding from read stream to write stream).

While writing this, i realized the original base64 decoder with ignored characters was doing some semi-complicated stuff to keep track of its decoding state. This rewrites the original decoder to rely on the decoder without ignores, moving the track keeping to simply chunking 4 valid characters using streams. This should be equivalent in performances and do not requires memory allocation either.

@Arwalk Arwalk requested a review from linusg September 9, 2024 22:07
Copy link
Collaborator

@linusg linusg left a comment

Choose a reason for hiding this comment

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

My review doesn't mean much here but stylistic changes LGTM, thanks :)

@Arwalk
Copy link
Contributor Author

Arwalk commented Oct 31, 2024

Hello there, i just updated my branch. Is there anyone to review this?

@Arwalk
Copy link
Contributor Author

Arwalk commented Jan 28, 2025

Hey there. Is there anything missing for this to be merged? It has been open for a bit of time. I'm not blaming anyone or being mean about it, I'm sure there are much more pressing matters than this, but i'd still like it to be merged at some point :)

@alexrp alexrp added this to the 0.14.0 milestone Jan 30, 2025
@andrewrk andrewrk removed this from the 0.14.0 milestone Mar 1, 2025
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.

5 participants