I am having trouble saving my file into binary into my database and so, to debug, I am trying to view the contents of the binary. I have tried this:
file.InputStream.Read(fileData, 0, size);
Debug.Print("binary=" + fileData);
It outputs this:
binary=System.Byte[]
How can I see the actual data which should look like 0x78421824794783741237FJKHASJKH etc?
In my database, it only goes in as 0x (which is the larger problem I am trying to solve).
ToString()representation of the byte array; since the representation is a bit arbitrary (Base 2? Base 16? Base 64?) Also, I'm assuming you want hexadecimal output, but your "should look like" example includes invalid characters ("JKHS"), but I guess that was just you mashing on the keyboard. :)0xand there should be a bunch of numbers (binary code).