Package io.keikai.doc.collab.lib0
Class IncUintOptRleEncoder
- java.lang.Object
-
- io.keikai.doc.collab.lib0.IncUintOptRleEncoder
-
public class IncUintOptRleEncoder extends java.lang.ObjectIncreasing Uint Optimized RLE EncoderThe 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 Constructor Description IncUintOptRleEncoder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Uint8ArraytoUint8Array()voidwrite(int v)
-
-
-
Method Detail
-
write
public void write(int v)
-
toUint8Array
public Uint8Array toUint8Array()
-
-