开发者

how to store store flv file to array using C#

I have a 开发者_如何学Cflv 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#?


You can use System.IO.File.ReadAllBytes() to read a file into a byte array.

byte[] myArray = System.IO.File.ReadAllBytes(@"myFlvFile.flv");


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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜