mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-11 05:24:56 +00:00
24 lines
614 B
C#
24 lines
614 B
C#
using System.IO;
|
|
using SharpCompress.Common.Rar;
|
|
using SharpCompress.Common.Rar.Headers;
|
|
|
|
namespace SharpCompress.Reader.Rar
|
|
{
|
|
internal class NonSeekableStreamFilePart : RarFilePart
|
|
{
|
|
internal NonSeekableStreamFilePart(MarkHeader mh, FileHeader fh)
|
|
: base(mh, fh)
|
|
{
|
|
}
|
|
|
|
internal override Stream GetCompressedStream()
|
|
{
|
|
return FileHeader.PackedStream;
|
|
}
|
|
|
|
internal override string FilePartName
|
|
{
|
|
get { return "Unknown Stream - File Entry: " + FileHeader.FileName; }
|
|
}
|
|
}
|
|
} |