Created
March 14, 2017 19:54
-
-
Save bleroy/220be2a18401eb232ce58150ab3c40ab to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var mc = new MyClass | |
{ | |
Age = 23, | |
FirstName = "Bertrand", | |
LastName = "Le Roy", | |
}; | |
var bytes = MessagePackSerializer.Serialize(mc); | |
var mc2 = MessagePackSerializer.Deserialize<MyClass>(bytes); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment