Uses of Class
io.keikai.doc.collab.lib0.Decoder
-
Packages that use Decoder Package Description io.keikai.doc.collab.lib0 io.keikai.doc.collab.utils -
-
Uses of Decoder in io.keikai.doc.collab.lib0
Subclasses of Decoder in io.keikai.doc.collab.lib0 Modifier and Type Class Description classIncUintOptRleDecoderIncreasing Uint Optimized RLE decoderclassIntDiffDecoderBasic diff decoder using variable length decoding.classIntDiffOptRleDecoderA combination of theIntDiffDecoderand theUintOptRleDecoder.classRleDecoder<T>Basic Run Length decoder - a basic compression implementation.classRleIntDiffDecoderA combination ofIntDiffDecoderandRleDecoder.classUintOptRleDecoderOptimized Rle decoder that does not suffer from the mentioned problem of the basic Rle decoder.Methods in io.keikai.doc.collab.lib0 that return Decoder Modifier and Type Method Description static DecoderDecoding. clone(Decoder decoder)Clone a decoder instance.static DecoderDecoding. clone(Decoder decoder, int newPos)Clone a decoder instance.static DecoderDecoding. createDecoder(Uint8Array uint8Array)Methods in io.keikai.doc.collab.lib0 with parameters of type Decoder Modifier and Type Method Description static DecoderDecoding. clone(Decoder decoder)Clone a decoder instance.static DecoderDecoding. clone(Decoder decoder, int newPos)Clone a decoder instance.static booleanDecoding. hasContent(Decoder decoder)static intDecoding. peekRealVarInt(Decoder decoder)Look ahead and read varUint without incrementing positionstatic intDecoding. peekRealVarUint(Decoder decoder)Look ahead and read varUint without incrementing positionstatic intDecoding. peekUint16(Decoder decoder)static intDecoding. peekUint32(Decoder decoder)static intDecoding. peekUint8(Decoder decoder)static longDecoding. peekVarInt(Decoder decoder)static java.lang.StringDecoding. peekVarString(Decoder decoder)static longDecoding. peekVarUint(Decoder decoder)static java.lang.ObjectDecoding. readAny(Decoder decoder)static longDecoding. readBigInt64(Decoder decoder)static floatDecoding. readFloat32(Decoder decoder)static doubleDecoding. readFloat64(Decoder decoder)static intDecoding. readRealVarInt(Decoder decoder)Read real signed int (32 bit, coz max Integer is 2^31) with variable length. 1/8th of the storage is used as encoding overhead.static intDecoding. readRealVarUint(Decoder decoder)Read real unsigned int (31 bit, coz max Integer is 2^31 - 1) with variable length. 1/8th of the storage is used as encoding overhead.static Uint8ArrayDecoding. readTailAsUint8Array(Decoder decoder)static java.lang.StringDecoding. readTerminatedString(Decoder decoder)static Uint8ArrayDecoding. readTerminatedUint8Array(Decoder decoder)static intDecoding. readUint16(Decoder decoder)static intDecoding. readUint32(Decoder decoder)static intDecoding. readUint32BigEndian(Decoder decoder)static intDecoding. readUint8(Decoder decoder)static Uint8ArrayDecoding. readUint8Array(Decoder decoder, int len)static longDecoding. readVarInt(Decoder decoder)static java.lang.StringDecoding. readVarString(Decoder decoder)static longDecoding. readVarUint(Decoder decoder)Read unsigned long (32bit) with variable length.static Uint8ArrayDecoding. readVarUint8Array(Decoder decoder)static voidDecoding. skip8(Decoder decoder)Constructor parameters in io.keikai.doc.collab.lib0 with type arguments of type Decoder Constructor Description RleDecoder(Uint8Array uint8Array, java.util.function.Function<Decoder,T> reader) -
Uses of Decoder in io.keikai.doc.collab.utils
Fields in io.keikai.doc.collab.utils declared as Decoder Modifier and Type Field Description protected DecoderDSDecoderV1. _restDecoderprotected DecoderDSDecoderV2. _restDecoderMethods in io.keikai.doc.collab.utils that return Decoder Modifier and Type Method Description DecoderDSDecoder. getRestDecoder()DecoderDSDecoderV1. getRestDecoder()DecoderDSDecoderV2. getRestDecoder()Methods in io.keikai.doc.collab.utils with parameters of type Decoder Modifier and Type Method Description static IDID. readID(Decoder decoder)static RelativePositionRelativePosition. readRelativePosition(Decoder decoder)Read a RelativePosition from a decoder.static voidEncodings. readUpdate(Decoder decoder, Doc ydoc, java.lang.Object transactionOrigin)Apply a document update.static voidEncodings. readUpdateV2(Decoder decoder, Doc ydoc, java.lang.Object transactionOrigin, UpdateDecoder structDecoder)Read and apply a document update.Constructors in io.keikai.doc.collab.utils with parameters of type Decoder Constructor Description DSDecoderV1(Decoder decoder)DSDecoderV2(Decoder decoder)UpdateDecoderV1(Decoder decoder)UpdateDecoderV2(Decoder decoder)
-