mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-07-19 15:35:25 +00:00
21 lines
499 B
C#
21 lines
499 B
C#
using System.IO;
|
|
|
|
namespace SharpCompress.Common.Zip.Headers
|
|
{
|
|
internal abstract class ZipHeader
|
|
{
|
|
protected ZipHeader(ZipHeaderType type)
|
|
{
|
|
ZipHeaderType = type;
|
|
HasData = true;
|
|
}
|
|
|
|
internal ZipHeaderType ZipHeaderType { get; private set; }
|
|
|
|
internal abstract void Read(BinaryReader reader);
|
|
|
|
internal abstract void Write(BinaryWriter writer);
|
|
|
|
internal bool HasData { get; set; }
|
|
}
|
|
} |