Protocol Buffers is the name of the binary serialization format used by Google for much of their data communications. It is designed to be: small in size - efficient data storage (far smaller than xml) cheap to process - both at the client and server platform independent - portable between different programming architectures extensible - to add new data to old messages. protobuf-net is a .NET implementation of this, allowing you to serialize your .NET objects efficiently and easily. It is compatible with most of the .NET family, including .NET 2.0/3.0/3.5/4.0, .NET CF 2.0/3.5, Mono 2.x, Silverlight, etc.

Install-Package protobuf-portable-net -Version
dotnet add package protobuf-portable-net --version
<PackageReference Include="protobuf-portable-net" Version="" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add protobuf-portable-net --version
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: protobuf-portable-net,"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install protobuf-portable-net as a Cake Addin
#addin nuget:?package=protobuf-portable-net&version=

// Install protobuf-portable-net as a Cake Tool
#tool nuget:?package=protobuf-portable-net&version=
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

* - fix: reader's position not resetting: eventually causes overflow on pooled instance; critical fix to 663
     * - add: Support for BCL immutable types (Microsoft.Bcl.Immutable)
     * - add: Remove some more allocations (IPredicate)
     * - add: ProtoReader recycling for heavy read throughput
                 - add: precompile uses alternative switch construct (android limitations)
     * - add: new key-signing options for precompile
                 - add: enum-passthru defaults
     * - fix: bug with length-prefix / naked enumerations
     * - update: protoc 2.5
                 - fix: various tweaks for Genderme
                 - fix: better support for "naked enumerables" (root enumerable objects)
     * - fix: bug in "precompiler" for lots of types
                 - add: support for default type factories (including extended callback signature support)
                 - fix: ImplicitFields parsing failing if assembly loaded dynamically
                 - add: experimental support for concurrent collections
                 - add: support for tuples with AsReference; better handling of default AsReference; improved AsReference error message
     * - fix: bug in protogen with default enums when no package is specified
     * - fix: nasty regression in r619, where GetSchema() could cause base-type corruption
     * - fix: GetSchema() should use ultimate base-type names when modelling inheritance
                 - fix: ensure precomile always generates a .ctor() on the concrete serializer
                 - add: support out-of-order fields when deseiralizing inheritance from other protobuf implementations
     * - fix: enum handling of ": byte" confusing signed/unsigned bytes
     * - fix: allow adding enum maps at runtime via MetaType
     * - fix: *Specified should work with non-public methods
                 - performance: pre-compiled serializers now use dictionary lookups where appropriate
                 - fix: nuget package for portable library should be more inclusive
     * - added precompiler support for internal-types and [InternalsVisibleTo(...)]-forwarding
                 - made AllowParseableTypes available on default type-model
     * - added phone8 support


This package has no dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on protobuf-portable-net:

Package Downloads
This package implements the Serialization provider contracts via ProtoBuf
The Ball Device Client - Beta 0.9.8
This package implements the Serialization provider contracts via ProtoBuf

GitHub repositories (1)

Showing the top 1 popular GitHub repositories that depend on protobuf-portable-net:

Repository Stars
Samples for the Urho bindings

Version History

Version Downloads Last updated 101,863 8/28/2014