BinaryPack
BinaryPack copied to clipboard
Deserializing without knowing type at compile time
Hello!
As far as I can see, BinaryConverter
offers only generic Deserialize<T>
method. I would, however, like to deserialize bytes to a target type that is known only at runtime. (I know I can call the Deserialize<T>
method with reflection given the type).
So my question is: are you considering implementing method like Deserialize(Type targetType, byte[] bytes)
?
Pretty standard thing among serializers as far as I can tell, and hopefully any level of built-in support is better than just using reflection.
Any updates?
Any updates? :D