Quantcast
Channel: sharpcompress Discussions Rss Feed
Browsing all 239 articles
Browse latest View live

New Post: File not disposed after use

See http://sharpcompress.codeplex.com/workitem/24

View Article


New Post: FlagUtility.HasFlags not working correctly in Windows 8

I was having problems opening some rar archives in a Windows 8 app because the FilePath was corrupted (had the '\0' and extra chars.I stepped through the code, and saw that when calling HasFlags to...

View Article


New Post: FileHeader FileName encoding for RAR files

Hi, I'm trying to extract files from a RAR archive that contains multi-byte characters for the file entries but I cannot seem to get the correct results.Here's an example of one of those entries: 00...

View Article

New Post: FlagUtility.HasFlags not working correctly in Windows 8

Great find, this solved my problem! Thanks

View Article

New Post: Suggestion: implicitly convert CompressionType to CompressionInfo

I'd like to suggest to add the following to CompressionInfo:public static implicit operator CompressionInfo(CompressionType compressionType) { return new CompressionInfo() { Type = compressionType };...

View Article


New Post: ArgumentOutOfRangeException during tar file creation

I have a simple CompressFile wrapper method: privatestring CompressFile(string infile, string outfile) {using (var fs = File.OpenRead(infile))using (var w = File.Open(outfile, FileMode.OpenOrCreate,...

View Article

New Post: Suggestion: implicitly convert CompressionType to CompressionInfo

Done!Thanks.

View Article

New Post: FlagUtility.HasFlags not working correctly in Windows 8

Done!Thanks.

View Article


New Post: ArgumentOutOfRangeException during tar file creation

Any chance you're willing to get the source and debug this or give me some more detailed data?  I think it has to do with the filename but I'm not 100% sure.

View Article


New Post: SharpCompress.Archive.ArchiveFactory.Open() IArchive please...

Hello ArchiveFactory is good idea, but it gives no full control over extraction. Can you please implement OpenEntryStream here? Like implemented in ReaderFactory

View Article

New Post: Optimized reading library

Hi,I am using it and the last version seems to be a bit slower...I would like to have a special PORTABLE version optimized in size and performance for READ ONLY...do you have any plan like that ?Other...

View Article

New Post: accessing a file directly

Hello,Is there a was to access a file directly (without making a loop on all files in the zip)?Instead of  var reader = ReaderFactory.Open(stream);  while(reader.MoveToNextEntry()) { ... } makingvar...

View Article

New Post: accessing a file directly

You probably ought not to use the Reader for random access.  Use the ArchiveFactory for that.Here's a sample with LINQ (I haven't actually tried this so the code might not be 100%)var archive =...

View Article


New Post: Optimized reading library

You know specially what's slowed down and when?  If you use a Reader then it is read only.For your second question: do you mean with the Archive interface?  Everytime you access an EntryStream you...

View Article

New Post: Optimized reading library

Hi,Thanks to reply.  I am only using the reader.between this two forks, but I do not identify if it is especially the library....it is more a feeling at this time, I will investigate and keep you...

View Article


New Post: accessing a file directly

Thanks this is perfect!

View Article

New Post: reading certain entry

Is it possible to get certain entry without,unpacking it on disc? This is what I have done so far.The problem here is the while loop...Each execution of reader.MoveToNextEntry(); takes ~50ms so if I...

View Article


New Post: reading certain entry

To avoid having to decompress the entire RAR, you need to use ArchiveFactory (like in your 2nd example) unless it's a SOLID archive.The second example probably fails because EntryStreams aren't...

View Article

New Post: Office compatible archives

Hi I'm working on a Windows Phone 8 app and am not having any luck creating a zip (renamed to .ppsx) that PowerPoint will open. I'm using ~98% the same code that works with my Windows 8 app utilising...

View Article

New Post: Office compatible archives

If you're using a ZipWriter, then try with ZipArchive. I haven't looked into what Zip style/file format that MS Office would expect.

View Article
Browsing all 239 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>