Hi to everyone,
it's the first time that I write here, so excuse me if I make some 
mistakes; and excuse me for my english.
I'm trying to send a cv::Mat (and other strings) from my C++ server to a 
Java client over tcp sockets, using a Protocol  Buffers message.
I'm trying to write my cv::Mat like a ByteString (Java) that correspond  in 
C++ on a std::string containg image's bytes (mat.data).
So when I send the image over socket I can't send all bytes, in my opinion 
because on C++ the image's byte can contain a string's null terminator on 
the middle.
How can I resolve it?
thank you!! :)

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to