.
> > > > > > .
> > > > > >bplMessage.SerializeToArray(mess,bplMessage.ByteSize());
> >
> > > > > > //what I am using to detect trailing bytes
> > > > > >for(int i =0; i< bplMessage.ByteSize();i++) {
&
::cout << (int) mess[i] << std::endl;
> > > > > }
>
> > > > > On Dec 17, 8:32 am, Kenton Varda wrote:
> > > > > > Hi Ryan,
> > > > > > What does your code look like that calls SerializeToArray()? It
>
Array()? It
> should
> > > > be
> > > > > something like:
> >
> > > > > int size = message.ByteSize();
> > > > > char* array = new char[size];
> > > > > message.SerializeToArray(array, size);
> >
> &g
> > > be
> > > > something like:
>
> > > > int size = message.ByteSize();
> > > > char* array = new char[size];
> > > > message.SerializeToArray(array, size);
>
> > > > On Tue, Dec 16, 2008 at 8:13 PM, Ryan wrote:
>
t; message.SerializeToArray(array, size);
>
> > > On Tue, Dec 16, 2008 at 8:13 PM, Ryan wrote:
>
> > > > I have been working with a Group Communication System and Protocol
> > > > Buffers.
>
> > > > I have an issue where the C++ SerializeToAr
PM, Ryan wrote:
> >
> > > I have been working with a Group Communication System and Protocol
> > > Buffers.
> >
> > > I have an issue where the C++ SerializeToArray call on one of my
> > > messages is occasionally appending Bytes {1,0,0,0,0,0,0,0,0} to th
size);
>
> On Tue, Dec 16, 2008 at 8:13 PM, Ryan wrote:
>
> > I have been working with a Group Communication System and Protocol
> > Buffers.
>
> > I have an issue where the C++ SerializeToArray call on one of my
> > messages is occasionally appending Bytes {1,0,
Group Communication System and Protocol
> Buffers.
>
> I have an issue where the C++ SerializeToArray call on one of my
> messages is occasionally appending Bytes {1,0,0,0,0,0,0,0,0} to the
> end of the returned character array?
>
> Any ideas on what might be causing this? I can Marsh
Ryan wrote:
> I have an issue where the C++ SerializeToArray call on one of my
> messages is occasionally appending Bytes {1,0,0,0,0,0,0,0,0} to the
> end of the returned character array?
Are you sure you have sized your array correctly (e.g. maybe thats
just garbage at the end of
I have been working with a Group Communication System and Protocol
Buffers.
I have an issue where the C++ SerializeToArray call on one of my
messages is occasionally appending Bytes {1,0,0,0,0,0,0,0,0} to the
end of the returned character array?
Any ideas on what might be causing this? I can
10 matches
Mail list logo