An lzip member has a 6-byte header (magic LZIP, version, dictionary size code) followed by an LZMA stream with end marker and a 20-byte trailer of CRC-32, data size and member size. Members may be concatenated.
Where it is used
GNU software source distribution and long-term archives.
History
Created by Antonio Diaz Diaz in 2008.
Status today
Niche but maintained.
Structures read by the implementation
Offsets are in bytes from the start of the buffer named in each heading. Field names are taken from the implementation and are not an official specification. Fixed-width integers are shown as u/i (unsigned/signed) followed by bit width and byte order.
LzipArchiveModule.Decode buffer data · LzipArchiveModule.cs
Offset
Size
Type
Field
Notes
start + 5
1
u8
Code
start + size – 16
8
u64 LE
Stored Size
start + size – 20
4
u32 LE
Stored Crc
LzipArchiveModule.FindMembers buffer data · LzipArchiveModule.cs
Offset
Size
Type
Field
Notes
0x0
4
bytes
–
end – 8
8
u64 LE
Ember Size
LzipArchiveModule.Probe buffer h · LzipArchiveModule.cs
Structures and constants were extracted from: Carving/Plugins/Compressed/LzipCarver.cs, Modules/FileSystems/LzipArchiveModule.cs. Prose sections are a summary from public sources; verify details before relying on them.