.net - How do you convert a file in memory to a byte array? -


I am using IonicZip to insert video files and am storing in a Blob field. I have a zip file created, it needs to be converted to only one byte array. I have done this without writing the harddrive

thanks,

Dave

< / Div>

If you can write on MemoryStream, you can use the "ToArray ()" method on MemoryStream to get a byte array Can be used.


Comments

Popular posts from this blog

paypal - How to know the URL referrer in PHP? -

oauth - Facebook OAuth2 Logout does not remove fb_ cookie -

wpf - Line breaks and indenting for the XAML of a saved FlowDocument? -