Last active
December 3, 2017 23:06
-
-
Save bruno-garcia/f43b2feebfa1a3c4b214e24ae0f7b56a to your computer and use it in GitHub Desktop.
ISerializer with ReadOnlySpan<T>
This file contains 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
public interface ISerializer | |
{ | |
ReadOnlySpan<byte> Serialize<T>(T @object); | |
object Deserialize(Type type, ReadOnlySpan<byte> bytes); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment