It's hard to know what's wrong when we can't see either the code or the 
error. It does sound very worrying if you're converting *binary* data into 
a string though. Are you doing anything to ensure the data is *safely* 
converted, such as using base64?

It would really help if you could post a short but complete example - or 
possibly ask on Stack Overflow, as that sounds more appropriate for this 
question.

Jon

On Thursday, 3 November 2016 00:06:34 UTC, Ganesh Shivshankar wrote:
>
> Hi, 
> I'm trying to use protof with stomp. We have a java server which is 
> running on a websocket over stomp. It uses protostuff 1.5.2. My client 
> needs to send the IMessage as a string to the server, where it gets 
> deserialized. I'm trying to do the below 
>
> IMessage.ToByteArray() 
>
> And then writing this to a stream reader and send the string as part of 
> the STOMP message to the server. 
>
> However the server keeps failing to deserialze it. I need to know what is 
> the correct way of doing it from the client side. Any help here is much 
> appreciated. 
>
> Cheers! 
> Ganesh

-- 
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 protobuf+unsubscr...@googlegroups.com.
To post to this group, send email to protobuf@googlegroups.com.
Visit this group at https://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to