mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-10-01 11:22:44 +00:00
26 lines
545 B
C#
26 lines
545 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; }
|
|
}
|
|
}
|