Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
SHA1 Hash:  f392aec8a5977399b2802b308a696329543c1b6b 

Date:  20140318 19:29:48 
User:  drh 
Comment:  Fix an important typo in the varint decoder documentation. 
Tags And Properties
 branch=trunk inherited from [84d5dea8fd]
 symtrunk inherited from [84d5dea8fd]
Context
20140507
 
09:49  [8a39847daf] Fix a memory leak in LSM. (user: dan, tags: trunk)  
20140318
 
19:29  [f392aec8a5] Fix an important typo in the varint decoder documentation. (user: drh, tags: trunk)  
20140222
 
19:54  [1ecbf355e3] Add other bt optimizations. Fix a problem in mutex_noop.c. (user: dan, tags: trunk)  
Changes
Changes to www/varint.wiki.
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 
<h2>Decode</h2>
* If A0 is between 0 and 240 inclusive, then the result is the value of A0.
* If A0 is between 241 and 248 inclusive, then the result is
240+256*(A0241)+A1.
* If A0 is 249 then the result is 2287+256*A1+A2.
* If A0 is 250 then the result is A1..A3 as a 3byte bigending integer.
* If A0 is 251 then the result is A1..A4 as a 4byte bigending integer.
* If A0 is 252 then the result is A1..A5 as a 5byte bigending integer.

 
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 
<h2>Decode</h2>
* If A0 is between 0 and 240 inclusive, then the result is the value of A0.
* If A0 is between 241 and 248 inclusive, then the result is
240+256*(A0241)+A1.
* If A0 is 249 then the result is 2288+256*A1+A2.
* If A0 is 250 then the result is A1..A3 as a 3byte bigending integer.
* If A0 is 251 then the result is A1..A4 as a 4byte bigending integer.
* If A0 is 252 then the result is A1..A5 as a 5byte bigending integer.
