cleanup and javadoc

This commit is contained in:
2019-08-31 16:52:13 +02:00
parent 0eee012798
commit f8e859fb6d
6 changed files with 216 additions and 89 deletions

View File

@@ -16,12 +16,12 @@ import org.lucares.collections.LongList;
* <p>
* Please note two things:
* <ol>
* <li>0 is encoded to 1; the encoded values do not contain 0
* <li>0 is encoded to 1; the encoded bytes do not contain the null byte
* <li>all but the last byte have the high value bit set
* </ol>
* That means no byte will have the value 0. This is important when decoding
* bytes, because we can decode bytes until we encounter the first null byte, or
* we reach the end of the array.
* No byte will have the value 0. This is important when decoding bytes, because
* we can decode bytes until we encounter the first null byte, or we reach the
* end of the array.
*/
public class VariableByteEncoder {