lz4/LZ4_Frame_Format.html

1 line
25 KiB
HTML
Raw Normal View History

2015-03-26 17:31:19 +00:00
<html><head><title>LZ4 Framing format - v1.5.0</title><meta content="text/html; charset=UTF-8" http-equiv="content-type"><style type="text/css">@import url('https://themes.googleusercontent.com/fonts/css?kit=wAPX1HepqA24RkYW1AuHYA');ol{margin:0;padding:0}.c8{max-width:453.6pt;background-color:#ffffff;padding:70.8pt 70.8pt 70.8pt 70.8pt}.c2{font-size:14pt;text-decoration:underline;font-weight:bold}.c12{font-size:10pt;font-family:"Courier New"}.c1{color:#1155cc;text-decoration:underline}.c4{text-decoration:underline;font-weight:bold}.c10{color:inherit;text-decoration:inherit}.c17{line-height:1.0;padding-bottom:0pt}.c3{height:11pt;text-align:center}.c0{direction:ltr}.c7{font-weight:bold}.c19{margin-left:36pt}.c15{font-size:18pt}.c16{font-family:"Courier New"}.c14{font-style:italic}.c9{font-size:14pt}.c18{color:#0000ff}.c13{margin-left:18pt}.c6{height:11pt}.c11{text-align:center}.c5{text-decoration:underline}.title{padding-top:12pt;line-height:1.15;text-align:center;color:#000000;font-size:16pt;font-family:"Arial";font-weight:bold;padding-bottom:3pt}.subtitle{padding-top:0pt;line-height:1.15;text-align:center;color:#000000;font-size:11pt;font-family:"Arial";padding-bottom:3pt}li{color:#000000;font-size:11pt;font-family:"Calibri"}p{color:#000000;font-size:11pt;margin:0;font-family:"Calibri"}h1{padding-top:12pt;line-height:1.15;text-align:left;color:#000000;font-size:16pt;font-family:"Arial";font-weight:bold;padding-bottom:3pt}h2{padding-top:12pt;line-height:1.15;text-align:left;color:#000000;font-style:italic;font-size:14pt;font-family:"Arial";font-weight:bold;padding-bottom:3pt}h3{padding-top:12pt;line-height:1.15;text-align:left;color:#000000;font-size:13pt;font-family:"Arial";font-weight:bold;padding-bottom:3pt}h4{padding-top:12pt;line-height:1.15;text-align:left;color:#000000;font-size:14pt;font-family:"Calibri";font-weight:bold;padding-bottom:3pt}h5{padding-top:12pt;line-height:1.15;text-align:left;color:#000000;font-style:italic;font-size:13pt;font-family:"Calibri";font-weight:bold;padding-bottom:3pt}h6{padding-top:12pt;line-height:1.15;text-align:left;color:#000000;font-size:11pt;font-family:"Calibri";font-weight:bold;padding-bottom:3pt}</style></head><body class="c8"><hr><p class="c0 c11"><span class="c7 c15">LZ4 </span><span class="c7 c15">Framing </span><span class="c7 c15">Format</span></p><hr><p class="c0 c6"><span class="c7 c15"></span></p><p class="c0"><span class="c2">Notices</span></p><p class="c0"><span>Copyright (c) 2013-2015 Yann Collet</span></p><p class="c0"><span>Permission is granted to copy and distribute this document for any &nbsp;purpose and without charge, including translations into other &nbsp;languages and incorporation into compilations, provided that the copyright notice and this notice are preserved, and that any substantive changes or deletions from the original are clearly marked.</span></p><p class="c0"><span class="c2">Version</span></p><p class="c0"><span>1.5.0</span></p><h1 class="c0"><a name="h.2z5bl598dfq9"></a><span>Introduction</span></h1><p class="c0"><span>The purpose of this document is to define a lossless compressed data format, that is independent of CPU type, operating system, file system and character set, suitable for File compression, Pipe and streaming compression using the LZ4 algorithm : </span><span class="c5 c18"><a class="c10" href="">http://code.google.com/p/lz4/</a></span></p><p class="c0"><span>The data can be produced or consumed, even for an arbitrarily long sequentially presented input data stream, using only an a priori bounded amount of intermediate storage, and hence can be used in data communications. &nbsp;The format uses the LZ4 compression method, and optional </span><span class="c1"><a class="c10" href="http://code.google.com/p/xxhash/">xxHash-32</a></span><span>&nbsp;checksum method, for detection of data corruption.</span></p><p class="c0"><span>The data format defined by this specification does not attempt to allow random access to compressed data.</span></p><p class="c0"><span>This specification is intended for use by implementers of software to co