|
Browse by Tags
All Tags » exception » MemoryStream ( RSS)
-
Once I populate MemoryStream I want to write it to database as a BLOB, my code looks like this: FileInfo exe = exel[0]; string path = exe.FullName; FileStream fs = new FileStream(path, FileMode.Open); BinaryReader br = new BinaryReader(fs); MemoryStream str = new MemoryStream(); using (ZipOutputStream...
Posted to
Forum
by
isnogood
on
09-03-2008
Filed under: exception, "Cannot access a closed Stream.", MemoryStream
-
I'm trying to use CSharpZipLib (version 0.85.5.452) to decompress a byte array compressed by Xceed (which I have no control over). The result is the error message System.ApplicationException ---> ICSharpCode.SharpZipLib.Zip.ZipException: Wrong Local header signature: 0x72EB5DED at ICSharpCode...
Posted to
Forum
by
DanielB
on
11-10-2008
Filed under: ZipInputStream, Decompress ZIP VB.NET, sharpZipLib, Zip, New Need Help, zip ICSharpCode.SharpZipLib SharpZipLib, uncompress, ICSharpZip, ZipFile, ZipEntry, Wrong Local header signature, ZipInputStream Read, exception, MemoryStream
-
I am wondering how to do the same thing as the original poster is. I know how to do the actual zipping in memory but I do not know how (or if it is possible) to add files, in the form of byte array, to the zip in memory. From what I understand, the process is as follows: Create a ZipOutputStream. Create...
Posted to
Forum
by
clamum
on
11-20-2008
Filed under: Using #ZipLib, #ZipLib, sharpZipLib, Zip, zip ICSharpCode.SharpZipLib SharpZipLib, entry, ZipEntry, database, adding files, add files, Encrypt Decrypt Memory, exception, MemoryStream, C#
Page 1 of 1 (3 items)
|
|
|