jeudi 26 janvier 2017

reflection GetBytes from int, int16, int64

how can i get the value of int, int16/short, int64 as byte[]

if data type is only known as object

I have some ideas like parse the Type-Name and foreach the int32-length-array

but i was wondering if there is a way with correct reflection.





Aucun commentaire:

Enregistrer un commentaire