1.0 preparations

This commit is contained in:
Arndt 2014-06-19 09:15:51 +02:00
parent 55717c6e71
commit 8fa82633d4
34 changed files with 742 additions and 462 deletions

View file

@ -19,7 +19,7 @@ package btools.util;
// 001 -> 3 + following 2-bit word ( 3..6 )
// 0001 -> 7 + following 3-bit word ( 7..14 ) etc.
public void encodeDistance( int value )
public void encodeVarBits( int value )
{
int range = 0;
while ( value > range )
@ -33,7 +33,7 @@ package btools.util;
}
// twin to encodeDistance
public int decodeDistance()
public int decodeVarBits()
{
int range = 0;
int value = 0;