I have a flv file and I want to store it in array to do some operations in this array . how to store store flv file to array using C#?
+3
A:
You can use System.IO.File.ReadAllBytes()
to read a file into a byte array.
byte[] myArray = System.IO.File.ReadAllBytes(@"myFlvFile.flv");
Jeff M
2010-08-28 04:18:51
A:
If you wish to keep a reference/object, then you can probably take the stream and store it in the array. or you can read it to a byte array and you can have an array of byte array.
Kangkan
2010-08-28 04:19:24