cleanup and javadoc
This commit is contained in:
@@ -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 {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user