Hi Feng
Thanks for the suggestion. I'll let you and the group know what happens.
Howard
From: Feng Xiao [xiaof...@google.com]
Sent: Monday, October 28, 2013 1:39 PM
To: Howard Lander
Cc: Protocol Buffers
Subject: Re: [protobuf] Hard to understand message
= 3;
}
message ResponseUnion {
enum message_type {CreateResponseMessage = 1; InitResponseMessage = 2;}
enum rc_enum { Enum_OK = 0; Enum_InvalidMessage = 1;}
required message_type type = 1;
required int32 return_code = 2;
optional CreateResponse create_response = 3;
opt
to the union, and it doesn't look like that is what you do...
Howard
On 10/8/13 1:58 PM, Howard Lander wrote:
Hi all
Please excuse this question from a newcomer; any assistance is greatly
appreciated.
I have the following 2 .proto files that I want to use to generate c++
code:
create.
For reference, I've attached RequestReply.pb.h
Howard
--
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 protobuf+unsubscr...@googlegroups.com.
nsource release.
ok
Thank you for taking the time to respond.
Michael
On Friday, July 12, 2013 5:28:47 PM UTC-4, Feng Xiao wrote:
>
>
> On Fri, Jul 12, 2013 at 6:26 AM, Michael Howard
>
> > wrote:
>
>> I am a protocol buffer newbie.
>> I have inherited a
I am a protocol buffer newbie.
I have inherited a performance-critical application that reads some
high-volume data streams that are coded in protocol buffer format.
byte[] org.google.protobuf.CodedInputStream.readRawBytes(int size)
allocates a new byte[size] from the heap on every call.
I wa