godot icon indicating copy to clipboard operation
godot copied to clipboard

Fix Marshalls `raw/utf8_to_base64` from erroring on empty input.

Open hhhapz opened this issue 6 months ago • 0 comments

As per RFC 4648, the base64 encoding for an empty ("") input is also empty. The functionality in the Marshalls package coincedentially returns the correct result, but produces an error as well.

The variant_to_base64 function remains unchanged since an encoded variant cannot be empty.

CC: @adamscott

hhhapz avatar Aug 17 '24 18:08 hhhapz