Uses of Class
io.keikai.doc.collab.lib0.Decoder
Packages that use Decoder
-
Uses of Decoder in io.keikai.doc.collab.lib0
Subclasses of Decoder in io.keikai.doc.collab.lib0Modifier and TypeClassDescriptionclassIncreasing Uint Optimized RLE decoderclassBasic diff decoder using variable length decoding.classA combination of theIntDiffDecoderand theUintOptRleDecoder.classRleDecoder<T>Basic Run Length decoder - a basic compression implementation.classA combination ofIntDiffDecoderandRleDecoder.classOptimized Rle decoder that does not suffer from the mentioned problem of the basic Rle decoder.Methods in io.keikai.doc.collab.lib0 that return DecoderModifier and TypeMethodDescriptionstatic DecoderClone a decoder instance.static DecoderClone a decoder instance.static DecoderDecoding.createDecoder(Uint8Array uint8Array) Methods in io.keikai.doc.collab.lib0 with parameters of type DecoderModifier and TypeMethodDescriptionstatic DecoderClone a decoder instance.static DecoderClone 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 intstatic longDecoding.peekVarInt(Decoder decoder) static StringDecoding.peekVarString(Decoder decoder) static longDecoding.peekVarUint(Decoder decoder) static Objectstatic 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 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 intstatic Uint8ArrayDecoding.readUint8Array(Decoder decoder, int len) static longDecoding.readVarInt(Decoder decoder) static StringDecoding.readVarString(Decoder decoder) static longDecoding.readVarUint(Decoder decoder) Read unsigned long (32bit) with variable length.static Uint8ArrayDecoding.readVarUint8Array(Decoder decoder) static voidConstructor parameters in io.keikai.doc.collab.lib0 with type arguments of type Decoder -
Uses of Decoder in io.keikai.doc.collab.utils
Fields in io.keikai.doc.collab.utils declared as DecoderModifier and TypeFieldDescriptionprotected final DecoderDSDecoderV1._restDecoderprotected DecoderDSDecoderV2._restDecoderMethods in io.keikai.doc.collab.utils that return DecoderModifier and TypeMethodDescriptionDSDecoder.getRestDecoder()DSDecoderV1.getRestDecoder()DSDecoderV2.getRestDecoder()Methods in io.keikai.doc.collab.utils with parameters of type DecoderModifier and TypeMethodDescriptionstatic IDstatic RelativePositionRelativePosition.readRelativePosition(Decoder decoder) Read a RelativePosition from a decoder.static voidEncodings.readUpdate(Decoder decoder, Doc ydoc, Object transactionOrigin) Apply a document update.static voidEncodings.readUpdateV2(Decoder decoder, Doc ydoc, Object transactionOrigin, UpdateDecoder structDecoder) Read and apply a document update.Constructors in io.keikai.doc.collab.utils with parameters of type DecoderModifierConstructorDescriptionDSDecoderV1(Decoder decoder) DSDecoderV2(Decoder decoder) UpdateDecoderV1(Decoder decoder) UpdateDecoderV2(Decoder decoder)