GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - bleupierre/msgpack-cli: MessagePack implementation for Common Language Infrastructure / msgpack.org[C#]

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

2,520 Commits
2,520 Commits

Folders and files

NameName
Last commit message
Last commit date
.nuget
.nuget
 
 
assets
assets
 
 
samples
samples
 
 
src
src
 
 
test
test
 
 
tools
tools
 
 
.editorconfig
.editorconfig
 
 
.gitignore
.gitignore
 
 
AUTHORS.txt
AUTHORS.txt
 
 
BuildNote.txt
BuildNote.txt
 
 
CHANGES.txt
CHANGES.txt
 
 
CONTRIBUTIONS.md
CONTRIBUTIONS.md
 
 
LICENSE.txt
LICENSE.txt
 
 
MsgPack.Windows.sln
MsgPack.Windows.sln
 
 
MsgPack.Xamarin.sln
MsgPack.Xamarin.sln
 
 
MsgPack.compats.sln
MsgPack.compats.sln
 
 
MsgPack.mono.sln
MsgPack.mono.sln
 
 
MsgPack.nuspec
MsgPack.nuspec
 
 
MsgPack.shfbproj
MsgPack.shfbproj
 
 
MsgPack.sl5.shfbproj
MsgPack.sl5.shfbproj
 
 
MsgPack.sln
MsgPack.sln
 
 
Pack.bat
Pack.bat
 
 
Pack.ps1
Pack.ps1
 
 
Pack.sh
Pack.sh
 
 
PackAll.bat
PackAll.bat
 
 
PackXamarin.bat
PackXamarin.bat
 
 
PackXamarin.ps1
PackXamarin.ps1
 
 
README.md
README.md
 
 
SOURCES.txt
SOURCES.txt
 
 
SetFileVersions.ps1
SetFileVersions.ps1
 
 
Sync.Test.xml
Sync.Test.xml
 
 
Sync.xml
Sync.xml
 
 
SyncProjects.bat
SyncProjects.bat
 
 
TODO.md
TODO.md
 
 
msgpack.ico
msgpack.ico
 
 

Repository files navigation

MessagePack for CLI

What is it?

This is MessagePack serialization/deserialization for CLI (Common Language Infrastructure) implementations such as .NET Framework, Silverlight, Mono (including Moonlight.) This library can be used from ALL CLS compliant languages such as C#, F#, Visual Basic, Iron Pyhton, Iron Ruby, PowerShell, C++/CLI or so.

Usage

You can serialize/deserialize objects as following:

  1. Create serializer via MessagePackSerializer.Create generic method. This method creates dependent types serializers as well.
  2. Invoke serializer as following: ** Pack method with destination Stream and target object for serialization. ** Unpack method with source Stream.
// Creates serializer.
var serializer = SerializationContext.Default.GetSerializer<T>();
// Pack obj to stream.
serializer.Pack(stream, obj);
// Unpack from stream.
var unpackedObject = serializer.Unpack(stream);
' Creates serializer.
Dim serializer = SerializationContext.Default.GetSerializer(Of T)()
' Pack obj to stream.
serializer.Pack(stream, obj)
' Unpack from stream.
Dim unpackedObject = serializer.Unpack(stream)

Features

  • Fast and interoperable binary format serialization with simple API.
  • Generating pre-compiled assembly for rapid start up.
  • Flexible MessagePackObject which represents MessagePack type system naturally.

Documentation

See wiki

Installation

  • Binary files distributed via the NuGet package MsgPack.Cli.
  • You can extract binary (DLL) file as following:
    1. Download *.zip file from GitHub Release page.
    2. Extract it.
    3. Under the bin directory, binaries are there!
    • For mono, you can use net45 or net35 drops as you run with.
    • For Unity, unity3d drop is suitable.

How to build

For .NET Framework

  1. Install recent Windows SDK (at least, .NET Framework 4 Client Profile and MSBuild is needed.)
    Or install Visual Studio or Visual Studio Express.

    1. If you want to build unit test assemblies, install NuGet and then restore NUnit packages.
  2. Run:

    msbuild MsgPack.sln

Or (for .NET 3.5 drops and Unity 3D drops):

msbuild MsgPack.compats.sln

Or (for Windows Runtime/Phone drops and Silverlight 5 drops):

msbuild MsgPack.Windows.sln

Or (for Xamarin drops, you must have Xamarin Business or upper license and Mac machine on the LAN to build on Windows):

msbuild MsgPack.Xamarin.sln

Or open one of above solution files in your IDE and run build command in it.

For Mono

Open MsgPack.mono.sln with MonoDevelop and then click Build menu item. (Of cource, you can build via xbuild.)

Own Unity 3D Build

First of all, there are binary drops on github release page, you should use it to save your time. Because we will not guarantee source code organization compatibilities, we might add/remove non-public types or members, which should break source code build. If you want to import sources, you must include just only described on MsgPack.Unity3D.csproj. If you want to use ".NET 2.0 Subset" settings, you must use just only described on MsgPack.Unity3D.CorLibOnly.csproj file, and define CORLIB_ONLY compiler constants.

See also

  • GitHub Page : http://cli.msgpack.org/
  • Wiki (documentation) : https://github.com/msgpack/msgpack-cli/wiki
  • API Reference : http://cli.msgpack.org/doc/top.html
  • Issue tracker : https://github.com/msgpack/msgpack-cli/issues
  • MSBuild reference : http://msdn.microsoft.com/en-us/library/0k6kkbsd.aspx
  • Mono xbuild reference : http://www.mono-project.com/Microsoft.Build

About

MessagePack implementation for Common Language Infrastructure / msgpack.org[C#]

msgpack.org

Resources

Readme
Apache-2.0 license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.