Module: LibMsPack::MsCab::Constants
- Included in:
- Constants
- Defined in:
- lib/libmspack/mscab.rb
Constant Summary collapse
- MSCAB_HDR_RESV_OFFSET =
Offset from start of cabinet to the reserved header data (if present).
0x28- MSCAB_HDR_PREVCAB =
Cabinet header flag: cabinet has a predecessor.
0x01- MSCAB_HDR_NEXTCAB =
Cabinet header flag: cabinet has a successor.
0x02- MSCAB_HDR_RESV =
Cabinet header flag: cabinet has reserved header space.
0x04- MSCAB_COMP_NONE =
Compression mode: no compression.
0- MSCAB_COMP_MSZIP =
Compression mode: MSZIP (deflate) compression.
1- MSCAB_COMP_QUANTUM =
Compression mode: Quantum compression.
2- MSCAB_COMP_LZX =
Compression mode: LZX compression.
3- MSCAB_ATTRIB_RDONLY =
attribute: file is read-only.
0x01- MSCAB_ATTRIB_HIDDEN =
attribute: file is hidden.
0x02- MSCAB_ATTRIB_SYSTEM =
attribute: file is an operating system file.
0x04- MSCAB_ATTRIB_ARCH =
attribute: file is "archived".
0x20- MSCAB_ATTRIB_EXEC =
attribute: file is an executable program.
0x40- MSCAB_ATTRIB_UTF_NAME =
attribute: filename is UTF8, not ISO-8859-1.
0x80- MSCABD_PARAM_SEARCHBUF =
CabDecompressor#setParam parameter: search buffer size.
0- MSCABD_PARAM_FIXMSZIP =
CabDecompressor#setParam parameter: repair MS-ZIP streams?
1- MSCABD_PARAM_DECOMPBUF =
CabDecompressor#setParam parameter: size of decompression buffer
2