mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-07-11 11:37:18 +00:00
28 lines
654 B
C#
28 lines
654 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 GetStream()
|
|
{
|
|
return FileHeader.PackedStream;
|
|
}
|
|
|
|
internal override string FilePartName
|
|
{
|
|
get
|
|
{
|
|
return "Unknown Stream - File Entry: " + base.FileHeader.FileName;
|
|
}
|
|
}
|
|
}
|
|
}
|