I am exploring the protocol buffer. I have come across the scenario
where i need to filter the records of the message stored in binary
file with respect to field value.
My message structure is :
message Person {
required string name = 1;
required int32 id = 2;// Unique ID number for th
with protocol buffer for filtering support?
Shailendra
On Jun 1, 10:02 pm, Pavel Shramov wrote:
> On Fri, Jun 01, 2012 at 12:05:58AM -0700, Shail wrote:
> > Does protocol buffer provide support like "SQL query/XPath query" to
> > retrieve the selective data from binary fi
As part of using protocol buffer .Net, I Came across that any XMLType can
be directly serilaized,
My sample XML Type is :
[XmlType]
public class Movie
{
[XmlElement("MovieNameValue", Order = 0)]
public string MovieName;
[XmlElement("MovieNameValue", Order
a attributes; for example (during
> your apps startup):
>
> RuntimeTypeModel.Default.Add(typeof(Movie), false).Add("MovieName",
> "MovieDir", "TheatersCount");
>
> (that is just a very basic usage; there are much more subtle configuration
> option
Hi,
I have an existing C# class which is generated out of XML schema, it
contains the object type. I need to serialize same using protocol buffer,
without modifying the class, I am having issue in serialization of the
object datatype present in the class as mentioned below:
public class Para
1:01 UTC+5:30, Marc Gravell wrote:
>
> And in this model, what is FloatData, StringData, IntData, etc?
>
> This is certainly solvable with protobuf-net, but to do a complete example
> I'd need to see those additional types.
>
> Marc
> (protobuf-net)
>
> On 31
t.AreEqual(123.45F, data.AdjustValue);
> Assert.AreEqual(2, data.Ranges.Length);
> Assert.AreEqual(1.0F, data.Ranges[0]);
> Assert.AreEqual(2.4F, data.Ranges[1]);
> Assert.AreEqual(2, data.Values.Length);
> Assert.AreEqual(7.21F