Greentube.Serialization.ProtoBuf
1.0.0-alpha2
Install-Package Greentube.Serialization.ProtoBuf -Version 1.0.0-alpha2
dotnet add package Greentube.Serialization.ProtoBuf --version 1.0.0-alpha2
<PackageReference Include="Greentube.Serialization.ProtoBuf" Version="1.0.0-alpha2" />
paket add Greentube.Serialization.ProtoBuf --version 1.0.0-alpha2
#r "nuget: Greentube.Serialization.ProtoBuf, 1.0.0-alpha2"
// Install Greentube.Serialization.ProtoBuf as a Cake Addin
#addin nuget:?package=Greentube.Serialization.ProtoBuf&version=1.0.0-alpha2&prerelease
// Install Greentube.Serialization.ProtoBuf as a Cake Tool
#tool nuget:?package=Greentube.Serialization.ProtoBuf&version=1.0.0-alpha2&prerelease
Greentube.Serialization.ProtoBuf 
Implementation of ISerializer with protobuf-net.
Protocol Buffers is googles binary serialization format.
This library targets netstandard1.3 since that's the version protobuf-net depends on.
No other dependencies besides Greentube.Serialization and protobuf-net are introduced via this package.
var protoBuf = new ProtoBufSerializer(new ProtoBufOptions());
Options
By default, protobuf-net
will use RuntimeTypeModel.Default
. This can be overwriten by:
var protoBuf = new ProtoBufSerializer(
new ProtoBufOptions
{
FormatterResolver = RuntimeTypeModel.Create()
});
Product | Versions |
---|---|
.NET | net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows |
.NET Core | netcoreapp1.0 netcoreapp1.1 netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1 |
.NET Standard | netstandard1.3 netstandard1.4 netstandard1.5 netstandard1.6 netstandard2.0 netstandard2.1 |
.NET Framework | net46 net461 net462 net463 net47 net471 net472 net48 |
MonoAndroid | monoandroid |
MonoMac | monomac |
MonoTouch | monotouch |
Tizen | tizen30 tizen40 tizen60 |
Universal Windows Platform | uap uap10.0 |
Xamarin.iOS | xamarinios |
Xamarin.Mac | xamarinmac |
Xamarin.TVOS | xamarintvos |
Xamarin.WatchOS | xamarinwatchos |
-
.NETStandard 1.3
- Greentube.Serialization (>= 1.0.0-alpha2)
- NETStandard.Library (>= 1.6.1)
- protobuf-net (>= 2.3.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Greentube.Serialization.ProtoBuf:
Package | Downloads |
---|---|
Greentube.Serialization.DependencyInjection.ProtoBuf
Integration of Greentube.Serialization.ProtoBuf with Microsoft.DependencyInjection. |
|
Greentube.Serialization.All
Metapackage which includes all Greentube Serialization packages. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0-alpha2 | 1,018 | 11/26/2017 |
1.0.0-alpha | 579 | 11/25/2017 |