Dear all,

My service use binary data type.

Here is my Thrift script. My Server use THaHsServer.
service SimpleService{
    oneway void putData(1:binary data),
}

I use Java client. Ex,
client.putData(ByteBuffer.wrap(bytes));

I check the data received by Server. I found that data length of byte array
in client and server is different.

So when I deserialize data from ByteBuffer, the error occur.

Could you help me?

Thank a lot for support.

-- 
Best regards,
JKnight

Reply via email to