Hello,
I would like to add a checksum to my protobuf msg, as i understood its is
possible by using CodeedOutputStrem and write the msg bytes and append a
fix sized checksum
While creating this binary stream, i would like to send it to another
endpoint via gRPC
I was thinking about creating another protobuf msg and rpc which will be
something like that:
message confWithChecksum {
string bytes = 1; // this bytes will hold the conf + checksum appnded
}
The only issue that i have to desirialze the msg twice - for the the
confWithChecksum msg and once for the actuatl conf msg after triming the
checksum bytes.
Is there another elegant way of doing it? is there a way to use the grpc
and just streaming bytes?
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/47043568-3b53-4d2d-836c-a0102a4a903dn%40googlegroups.com.