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?