Quantcast
Channel: sharpcompress Discussions Rss Feed
Viewing all articles
Browse latest Browse all 239

New Post: EntryStream Position and Lenght Exception

$
0
0
Rather than do that with a byte array, make a MemoryStream then use CopyTo from the EntryStream. Then get the byte array from the memory stream.

For reading that text, you can use a StreamReader wrapping the EntryStream and call ReadToEnd on the reader.

EntryStreams are forward only reading. They don't know their length.

Viewing all articles
Browse latest Browse all 239

Trending Articles



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