Skip to content

mikehadlow/ProtobufSerializer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ProtobufSerializer

This is a simple example of how to use Google.Protobuf without code generation.

Read the blog post here: How to use Google.Protobuf without code generation in C#

It demonstrates a simple protobuf serializer/deserializer that can create and receive ad-hoc messages.

This is .NET 6 solution. It should build and run directly from Visual Studio 2022.

Program.cs runs a series of tests of Serializer.cs and includes comments on how to use it. Start there.

Released under the MIT licence. This code is free to use without attribution. There is no warrenty whatsoever - use with caution.

About

A simple of example of how to use Google.Protobuf without code generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages