Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
121 stars 2 forks source link

Flux nodes to handle base64 strings #2078

Open Psychpsyo opened 1 month ago

Psychpsyo commented 1 month ago

Is your feature request related to a problem? Please describe.

base64 is a common format for various types of data to be in and protoflux should be able to encode and decode things to and from base64.

Describe the solution you'd like

Add two flux nodes, one for encoding base64 and one for decoding it.

Describe alternatives you've considered

Implementing this functionality manually, offloading the work to an external server or just not using base64. These are all less than ideal.

Additional Context

I am primarily writing this issue to supercede both #2064 and #673 since they only ask for very specific applications of base64. Those issues should probably be more concerned with just the conversion between raw bytes and images, once collections exist.

Requesters

cameron5 (Discord) / Psychpsyo (Resonite) From #2064: scarstrf (Discord & Resonite) From #673: Fukuro99

shiftyscales commented 1 month ago

As highlighted in the other linked issues, this issue is blocked/dependent on https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/572.