Package io.keikai.doc.collab.lib0
Class IncUintOptRleEncoder
java.lang.Object
io.keikai.doc.collab.lib0.IncUintOptRleEncoder
Increasing Uint Optimized RLE Encoder
The RLE encoder counts the number of same occurrences of the same value. The IncUintOptRle encoder counts if the value increases. I.e. 7, 8, 9, 10 will be encoded as [-7, 4]. 1, 3, 5 will be encoded as [1, 3, 5].
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IncUintOptRleEncoder
public IncUintOptRleEncoder()
-
-
Method Details
-
write
public void write(int v) -
toUint8Array
-