houqp commented on pull request #702:
URL: https://github.com/apache/arrow-rs/pull/702#issuecomment-903346386


   > Yeah, I've only ever base64 encoded to a string, so I wonder if there'd be 
some data loss if we don't do some conversion to a string representation
   
   I think writer needs to take care of the encoding and the reader needs to 
decode accordingly. For example encoding arbitrary binary into base64 is one 
way to do this. Another way is to encode binary as 2 bytes unicode code point. 
Whatever the encoding/decoding strategy gets picked, the writer is responsible 
to encode the binary into valid utf8 string. So it's really just a convention 
that the writer and reader needs to follow.


-- 
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