最新下载
热门教程
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
michael_wp原创:用.net实现zip----4-2
时间:2022-07-02 11:37:29 编辑:袖梨 来源:一聚教程网
/// 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;
[StructLayout(LayoutKind.Sequential)]
internal struct ZipFileInfo {
///
public UInt32 EntryCount;
///
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
}
///
[StructLayout(LayoutKind.Sequential)]
internal struct ZipDateTimeInfo {
///
public UInt32 Seconds;
相关文章
- 超凡先锋通行密钥作用如何 08-16
- 为了吾王怎么解锁角斗士 08-16
- 冒险之星有什么射手英雄 08-16
- 村落人生怎么饲养羊 08-16
- 交错战线阿图姆有哪些技能 08-16
- 斗破仙境商店物品怎么兑换 08-16