
May be missing if record consists only fromĪrchive comment service header (optional) Need to be skipped without interrupting an operation. New record types can be added in the future, so unknown record types Read the concrete archive block description for details. Different archive blocks have different associated extra area Not counted in Header CRC and Header size fields.Įxtra area can include one or more records having the following format: Size Used to store large data amounts, such as compressed file data. Optional data area, present only if 0x0002 header flag is set. Optional area containing additional header fields, present only Optional field, present only if 0x0002 header flagįields specific for current block type. Optional field, present only if 0x0001 header flag Possible values are:Ġx0001 Extra area is present in the end of header.Ġx0002 Data area is present in the end of header.Ġx0004 Blocks with unknown type and this flag must be skipped when updating an archive.Ġx0008 Data area is continuing from previous volume.Ġx0010 Data area is continuing in next volume.Ġx0020 Block depends on preceding file block.Ġx0040 Preserve a child block if host block is modified. This field must not be longer than 3 bytes in current implementation, Size of header data starting from Header type field We use 0x prefix to define hexadecimal values, such as 0xf000 General archive structure General archive block format FieldĬRC32 of header data starting from Header size fieldĪnd up to and including the optional extra area.

byte, uint16, uint32, uint64īyte, 16-, 32-, 64- bit unsigned integer in little endian format.

Which means 0 with continuation flag set. Necessary and then fill several leading bytes with 0x80 hexadecimal, In such situation it can allocate more space than really Sometimes RAR needs to pre-allocate space for vint before knowing This value may be increased in the future Second byte, if present, contains next 7 bitsĬurrently RAR format uses vint to store up to 64 bit integers, So first byte contains 7 least significant bits of integerĪnd continuation flag.

If highest bit is 0, this is the last byte Can include one or more bytes, where lowerħ bits of every byte contain integer data and highest bit in every byte

Información exclusiva para programadores, si quiere saber lo queĮs un archivo RAR, por favor, lea este artículo. Este artículo describe el formato de los ficheros RAR, se trata de una
