File package format

xiaoxiao2021-03-05  51

[File Id] [File ID] DWORD 4 - BYTE: MAGIC NUMBER DWORD 4 - BYTE: VERSIONG NUMBER DWORD 64 - BYTE: KEY [/ FILE ID] [File Header Info] --- This Struct Is Encrypted DWORD 4 - BYTE: File Len (Low-Order 4 Byte) DWord 4 - Byte: File Len (High-Order 4 Byte) DWord 4 - Byte: Fileflag DWord 4 - Byte: Named Data Table Size DWord 4 - ByTE: File Entry Table Size DWORD 16 BYTE: RESERVED BYTE [/ File Header Info]

[File Header]

[Hash table] - this table is not encrypted [Hash Table Entry] DWORD 4-BYTE: ID HASH VALUE 1 DWORD 4-BYTE: ID HASH VALUE 2 DWORD 4-BYTE: FLAG DWORD 4-BYTE: BlockIndex [/ has table Entry] [/ hash table]

[Named Data Table] - This Table is Encrypted [Named Data Entry] DWORD 4 - BYTE: DATA Name DWORD 4 - BYTE: DATA INDEX DWORD 4 - BYTE: BLOCKINDEX DWORD 4 - BYTE: Reserved Char 32 - BYTE: Readable Name / Named Data Entry] [/ named Data Table]

[File Entry Table] - This Table is Encrypted [File Entry] DWORD 4 - byte: FileStartAt DWORD 4 - byte: PackedSize DWORD 4 - byte: FileSize-Without packed DWORD 4 - byte: dwFlag DWORD 4 - byte: Reserved char 128 - Byte: File Name (Readable) [/ file entry] [/ file entry Table]

转载请注明原文地址:https://www.9cbs.com/read-36632.html

New Post(0)