Proto#An alternative protocol buffer implementation for .NET. Focus on ease of use and flexibility to integrate into existing solutions.
Currently in alpha. Stay tuned.
A Simple Messageusing System;
using System.IO;
using ProtoSharp.Core;
//Based on http://code.google.com/apis/protocolbuffers/docs/encoding.html "A Simple Message"
namespace Test1EncodingSample
{
class Test1
{
[Tag(1)]
public int A { get; set; }
}
class Program
{
static void Main(string[] args)
{
var encoded = new MemoryStream();
new MessageWriter(encoded).WriteMessage(new Test1() { A = 150 });
Console.Write("Encoded = {");//Expected 08 96 01
var sep = string.Empty;
Array.ForEach(en
Commercial Use
Modify
Distribute
Sub-License
Private Use
Hold Liable
Include Copyright
Include License
These details are provided for information only. No information here is legal advice and should not be used as such.