Hi folks

I am referring to this definition - 
/// 1.  static Status Serialize(const Message& msg,
///                             ByteBuffer* buffer,
///                             bool* own_buffer);

Are the memory-regions referred to by slices in 'buffer' (output of 
Serialize) read-only for rest of gRPC stack? Otherwise my impl of 
Serialize() would have to copy these memory regions and then create slices 
& resulting byte-buffer. I want to avoid copy-ing these memory-regions.

Thanks
Mayank

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" 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/grpc-io/1f86c854-a106-4df2-9d45-74a68ac412a4%40googlegroups.com.

Reply via email to