Many times I needed write an array bytes in a file, the following method is most simple:
using (System.IO.Stream s = System.IO.File.Create(@"c:\filename"))
{
s.Write(Bytes, 0, Bytes.Length);
}
source code:
A programmer's work is never done
21
Apr
Many times I needed write an array bytes in a file, the following method is most simple:
using (System.IO.Stream s = System.IO.File.Create(@"c:\filename"))
{
s.Write(Bytes, 0, Bytes.Length);
}
source code: