I want to use a c++ program to read a jpg then pass it to python.
however since jpg has numerous '\0' inside. Python always think that the jpg
only contains less than 10 bytes.
My question is http://old.nabble.com/file/p32162234/HelloLib.tar.gz
HelloLib.tar.gz .
http://old.nabble.com/file/p32162234/HelloLib.tar.gz HelloLib.tar.gz
--
View this message in context: http://old.nabble.com/what-is-the-proper-way-to-pass-a-binary-array-from-c%2B%2B-to-python--tp32162234p32162234.html
Sent from the swig-user mailing list archive at Nabble.com.
|