1
Reply

Can C# directly read/write bytes from/to file to short array?

binli

binli

Nov 5 2003 3:53 PM
5.3k
I want to read short/float elements from a binary file. Can I directly read them into a short/float array, with FileStream or BinaryReader? I don't want to read short/float one by one. I also need to do writing. Thanks for help. Bin

Answers (1)