I have some binary data which is in Python in the form of an array of byte strings.
Is there a portable way to serialize this data that other languages could read?
JSON loses because I just found out that it has no real way to store binary data; its strings are expected to be Unicode.
I don't want to use pickle
because I don't want the security risk, and that limits its use to other Python programs.
Any advice? I would really like to use a builtin library (or at least one that's part of the standard Anaconda distribution).