1
Answer

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

binli

binli

21y
5.3k
1
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)