/// Global information about the zip file.
[StructLayout(LayoutKind.Sequential)]
internal struct ZipFileInfo {
/// The number of entries in the directory.
public UInt32 EntryCount;
/// Length of zip file comment in bytes (8 bit characters).
public UInt32 CommentLength;
}
[StructLayout(LayoutKind.Sequential)]
internal struct ZipFileEntryInfo {
public ZipDateTimeInfo DateTime;
public UInt32 DosDate;
public UInt32 InternalFileAttributes; // 2 bytes
public UInt32 ExternalFileAttributes; // 4 bytes
}
/// Custom ZipLib date time structure.
[StructLayout(LayoutKind.Sequential)]
internal struct ZipDateTimeInfo {
/// Seconds after the minute - [0,59]
public UInt32 Seconds;