You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have the problem that sometimes the same object with the same code is split into two messages and then it fails because this splitting is happening.
I use on the other side Java. I'm not sure if from which side the error is caused.
socket.write(RequestObject.encodeDelimited(requst).finish());socket.on('data',(data: Buffer)=>{try{constproduct: Product=Product.decodeDelimited(data);console.log(product);}catch(error){letcompleteHexString="";for(leti=0;i<data.length;i++){consthexString=data[i].toString(16).padStart(2,'0');completeHexString+=`${hexString} `;}console.log(completeHexString);logger.log('warn',`Error while decoding Product: ${error.message}`);}});
protobuf.js version: 7.2.5
I have the problem that sometimes the same object with the same code is split into two messages and then it fails because this splitting is happening.
I use on the other side Java. I'm not sure if from which side the error is caused.
The text was updated successfully, but these errors were encountered: