Namespace BitFormat

Description

The namespace BitFormat contains a set of archive formats usable with bit7z classes.

Functions

BEGIN_HASHMAP
detectFormatFromExt
detectFormatFromSig
END_HASHMAP OverloadNOTE: For signatures with less than 8 bytes (size of uint64_t), remaining bytes are set to 0
HASHMAP_ENTRY Overload
readSignature

Variables

Variables (bitformat.cpp)

const BitInFormat Auto

Automatic Format Detection (available only when compiling bit7z using the BIT7Z_AUTO_FORMAT preprocessor define)

const BitInOutFormat Zip

ZIP Archive Format.

Mentioned in:

Getting Started / Compressing files into an archive

Basic Usage / Compressing files into an archive

Advanced Usage / Compression Methods

const BitInOutFormat BZip2

BZIP2 Archive Format.

Mentioned in:

Getting Started / Compressing files into an archive

Basic Usage / Compressing files into an archive

const BitInFormat Rar

RAR Archive Format.

const BitInFormat Arj

ARJ Archive Format.

const BitInFormat Z

Z Archive Format.

const BitInFormat Lzh

LZH Archive Format.

const BitInOutFormat SevenZip

7Z Archive Format

Mentioned in:

Getting Started / Extracting files from an archive

Getting Started / Reading archive metadata

Basic Usage / Extracting files from an archive

Basic Usage / Reading archive metadata

Advanced Usage / Compression Methods

const BitInFormat Cab

CAB Archive Format.

const BitInFormat Nsis

NSIS Archive Format.

const BitInFormat Lzma

LZMA Archive Format.

const BitInFormat Lzma86

LZMA86 Archive Format.

const BitInOutFormat Xz

XZ Archive Format.

Mentioned in:

Advanced Usage / Compression Methods

const BitInFormat Ppmd

PPMD Archive Format.

const BitInFormat COFF

COFF Archive Format.

const BitInFormat Ext

EXT Archive Format.

const BitInFormat VMDK

VMDK Archive Format.

Mentioned in:

Getting Started / Supported Features

const BitInFormat VDI

VDI Archive Format.

Mentioned in:

Getting Started / Supported Features

const BitInFormat QCow

QCOW Archive Format.

const BitInFormat GPT

GPT Archive Format.

Mentioned in:

Getting Started / Supported Features

const BitInFormat Rar5

RAR5 Archive Format.

const BitInFormat IHex

IHEX Archive Format.

const BitInFormat Hxs

HXS Archive Format.

const BitInFormat TE

TE Archive Format.

const BitInFormat UEFIc

UEFIc Archive Format.

const BitInFormat UEFIs

UEFIs Archive Format.

const BitInFormat SquashFS

SquashFS Archive Format.

Mentioned in:

Getting Started / Supported Features

const BitInFormat CramFS

CramFS Archive Format.

Mentioned in:

Getting Started / Supported Features

const BitInFormat APM

APM Archive Format.

const BitInFormat Mslz

MSLZ Archive Format.

const BitInFormat Flv

FLV Archive Format.

const BitInFormat Swf

SWF Archive Format.

const BitInFormat Swfc

SWFC Archive Format.

const BitInFormat Ntfs

NTFS Archive Format.

const BitInFormat Fat

FAT Archive Format.

const BitInFormat Mbr

MBR Archive Format.

const BitInFormat Vhd

VHD Archive Format.

const BitInFormat Pe

PE Archive Format.

const BitInFormat Elf

ELF Archive Format.

const BitInFormat Macho

MACHO Archive Format.

const BitInFormat Udf

UDF Archive Format.

const BitInFormat Xar

XAR Archive Format.

const BitInFormat Mub

MUB Archive Format.

const BitInFormat Hfs

HFS Archive Format.

const BitInFormat Dmg

DMG Archive Format.

const BitInFormat Compound

COMPOUND Archive Format.

const BitInOutFormat Wim

WIM Archive Format.

Mentioned in:

Advanced Usage / Compression Methods

const BitInFormat Iso

ISO Archive Format.

const BitInFormat Chm

CHM Archive Format.

const BitInFormat Split

SPLIT Archive Format.

const BitInFormat Rpm

RPM Archive Format.

const BitInFormat Deb

DEB Archive Format.

const BitInFormat Cpio

CPIO Archive Format.

const BitInOutFormat Tar

TAR Archive Format.

Mentioned in:

Advanced Usage / Compression Methods

const BitInOutFormat GZip

GZIP Archive Format.

Mentioned in:

Advanced Usage / Compression Methods

L

SevenZip L bz2

SevenZip L BZip2 L tbz

SevenZip L BZip2 L BZip2 L gzip

SevenZip L BZip2 L BZip2 L GZip L tar

SevenZip L BZip2 L BZip2 L GZip L Tar L swm

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L txz

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L zipx

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L xpi

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L ods

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L docx

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L pptx

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L apm

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L cab

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L chi

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L doc

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L ppt

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L obj

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L cramfs

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L dmg

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L dylib

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L ext

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L ext3

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L fat

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L gpt

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L hfsx

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L ihex

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L lha

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L lzma86

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L Lzma86 L mslz

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L Lzma86 L Mslz L nsis

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L Lzma86 L Mslz L Nsis L pmd

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L Lzma86 L Mslz L Nsis L Ppmd L qcow2

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L Lzma86 L Mslz L Nsis L Ppmd L QCow L rpm

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L Lzma86 L Mslz L Nsis L Ppmd L QCow L Rpm L te

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L Lzma86 L Mslz L Nsis L Ppmd L QCow L Rpm L TE L scap

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L Lzma86 L Mslz L Nsis L Ppmd L QCow L Rpm L TE L UEFIc L vmdk

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L Lzma86 L Mslz L Nsis L Ppmd L QCow L Rpm L TE L UEFIc L VMDK L vhd

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L Lzma86 L Mslz L Nsis L Ppmd L QCow L Rpm L TE L UEFIc L VMDK L Vhd L pkg

SevenZip L BZip2 L BZip2 L GZip L Tar L Wim L Xz L Zip L Zip L Zip L Zip L Zip Split L APM L Cab L Chm L Compound L Compound L COFF L CramFS L Dmg L Macho L Ext L Ext L Fat L GPT L Hfs L IHex L Lzh L Lzma86 L Mslz L Nsis L Ppmd L QCow L Rpm L TE L UEFIc L VMDK L Vhd L Xar L taz

const OffsetSignature common_signatures_with_offset = { { 0x2D6C680000000000, 0x02, 3, Lzh }, { 0x4E54465320202020, 0x03, 8, Ntfs }, { 0x4E756C6C736F6674, 0x08, 8, Nsis }, { 0x436F6D7072657373, 0x10, 8, CramFS }, { 0x7F10DABE00000000, 0x40, 4, VDI }, { 0x7573746172000000, 0x101, 5, Tar }, { 0x4546492050415254, 0x200, 8, GPT }, { 0x55AA000000000000, 0x1FE, 2, Fat }, { 0x4244000000000000, 0x400, 2, Hfs }, { 0x482B000400000000, 0x400, 4, Hfs }, { 0x4858000500000000, 0x400, 4, Hfs }, { 0x53EF000000000000, 0x438, 2, Ext } }

Source

Line 39 in src/bitformat.cpp.






Add Discussion as Guest

Log in