On Thu, Jun 21, 2012 at 7:08 AM, Anatoly Deyneka <[email protected]> wrote:
> Why ByteString has only private constructor?
> Copying arrays is overhead in my case.

I believe it's that way to guarantee the immutability of a ByteString.

Oliver

-- 
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en.

Reply via email to