Files
sharpcompress/SharpCompress/Common/Zip/Headers/ZipHeader.cs
Adam Hathcock 7ce4b7d076 Initial commit
2013-04-07 10:58:58 +01:00

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; }
}
}