I have a byte[] array filled with data. I can't rely on the file extension (from which the array of data comes from) being a reliable indicator of the data type.
That being said, how can I "detect" the type of data that is stored in the byte array?
I have a byte[] array filled with data. I can't rely on the file extension (from which the array of data comes from) being a reliable indicator of the data type.
That being said, how can I "detect" the type of data that is stored in the byte array?