Parity Volume Set

From Just Solve the File Format Problem
(Difference between revisions)
Jump to: navigation, search
(Created page with "{{FormatInfo |formattype=electronic |thiscat=Error detection and correction |extensions={{ext|par}}, {{ext|pxx}}, {{ext|par2}}, {{ext|pa3}} }} '''Parity Volume Set''' (also k...")
 
Line 9: Line 9:
 
== Identification ==
 
== Identification ==
  
A '''Par1''' file starts with the byte sequence <code>50 41 52 00 00 00 00 00</code>,  which corresponds to the ASCII text string <code>PAR</code>, followed by 5 nul bytes. A '''Par2''' file starts with bytes <code>50 41 52 32 00 50 4B 54</code>, which corresponds to ASCII text string<code>PAR2</code>, followed by a null byte and the text string <code>PKT</code>. Finally, a '''Par3''' file usse the 4-byte sequence <code>50 41 33 00</code> (<code>PA3</code> followed by a null byte).  
+
A '''Par1''' file starts with the following byte sequence:
 +
 
 +
<code>50 41 52 00 00 00 00 00</code>
 +
 
 +
This corresponds to the ASCII text string <code>PAR</code>, followed by 5 null bytes.  
 +
 
 +
A '''Par2''' file starts with the bytes:
 +
 
 +
<code>50 41 52 32 00 50 4B 54</code>
 +
 
 +
This corresponds to ASCII text string <code>PAR2</code>, followed by a null byte and the text string <code>PKT</code>.  
 +
 
 +
Finally, a '''Par3''' file can be identified by the following 4-byte sequence:
 +
 
 +
<code>50 41 33 00</code>
 +
 
 +
This corresponds to the text string <code>PA3</code>, followed by a null byte.  
  
 
== Specifications ==
 
== Specifications ==

Revision as of 16:22, 25 May 2016

File Format
Name Parity Volume Set
Ontology
Extension(s) .par, .pxx, .par2, .pa3

Parity Volume Set (also known as parity archive or parchive) is a file format for storing redundant data for one or more input files. These data can be used to repair the input files if they get damaged. The error correction is based on the Reed-Solomon algorithm. Three versions of the format exist: Par1, Par2 and Par3. The Par3 format never made it beyond the proposal stage, but it is used by the MultiPar tool.

Contents

Identification

A Par1 file starts with the following byte sequence:

50 41 52 00 00 00 00 00

This corresponds to the ASCII text string PAR, followed by 5 null bytes.

A Par2 file starts with the bytes:

50 41 52 32 00 50 4B 54

This corresponds to ASCII text string PAR2, followed by a null byte and the text string PKT.

Finally, a Par3 file can be identified by the following 4-byte sequence:

50 41 33 00

This corresponds to the text string PA3, followed by a null byte.

Specifications

Software

Sample files

Links

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox