i am getting a byte[] array from a blob field in a database, and i need to convert it into an array of some other primitive type.
in unmanaged code, this is incredibly easy, but in .NET, it seems painful.
The Bitconverter is not a great option because there's no generic method and i don't know the types before the code executes.
any advice would be greatly appreciated.