niebayes commented on issue #6753:
URL: https://github.com/apache/arrow-rs/issues/6753#issuecomment-2484981797

   Well, we have found a way for consistent decoding: 
   ``` rust
   let my_base64 = GeneralPurpose::new(
               &alphabet::STANDARD,
               
GeneralPurposeConfig::new().with_decode_padding_mode(DecodePaddingMode::Indifferent),
           );
   ```
   We have to construct our own general-purpose decoder  in the server side and 
set the decode padding mode to `Indifferent` so that the base64 decoder would 
allow the encoded string padded or not padded.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to