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)?
Hello!
As far as I can see,
BinaryConverteroffers only genericDeserialize<T>method. I would, however, like to deserialize bytes to a target type that is known only at runtime. (I know I can call theDeserialize<T>method with reflection given the type).So my question is: are you considering implementing method like
Deserialize(Type targetType, byte[] bytes)?