Nice! thanks for that, is that supported also in ver 2.6?

ב-יום שני, 16 בנובמבר 2020 בשעה 19:00:37 UTC+2, [email protected] כתב/ה:

> You can send the checksum as a Metadata header 
> <https://grpc.io/docs/what-is-grpc/core-concepts/#metadata>.
>
> On Mon, Nov 16, 2020 at 8:39 AM Yariv Hashai <[email protected]> wrote:
>
>> 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
>>  
>> <https://groups.google.com/d/msgid/protobuf/47043568-3b53-4d2d-836c-a0102a4a903dn%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> -- 
> -Nadav
>

-- 
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/b870911b-5fc4-4bca-beea-c24a847c43aen%40googlegroups.com.

Reply via email to