Sophie

Sophie

distrib > Mandriva > current > x86_64 > by-pkgid > d76e9d0335eb50de9ef01195761a76f9 > files > 53

lib64kate-devel-0.3.7-1mdv2010.1.x86_64.rpm

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>libkate: Format - warp</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<!-- Generated by Doxygen 1.6.1 -->
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
      <li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="examples.html"><span>Examples</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">


<h1><a class="anchor" id="format_warp">Format - warp </a></h1><p>A warp is a stream of bits along with its length, allowing to jump over it without regard to its actual contents. Its use allows older decoders to ignore additions to the bitstream format without having to know about them. Warps are the main mechanism used to allow Kate streams to maintain forward compatibility with new streams.</p>
<p>A warp consists of a <a class="el" href="format_32v.html">variable length integer</a> representing the number of data bits present in the warp, followed by that number of bits. The actual semantics of those data bits is irrelevant to the warp, as it acts as a container for those bits.</p>
<p>Jumping over a warp is simple: read the <a class="el" href="format_32v.html">variable length integer</a>, and read that number of bits, discarding them. If the number of bits was zero, this is the end of the warp. If not, there is another warp to read. This allows the warp to be used multiple times. </p>
</div>
<hr size="1"/><address style="text-align: right;"><small>Generated on Wed Dec 23 04:05:07 2009 for libkate by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.1 </small></address>
</body>
</html>