Uses of Interface
io.keikai.doc.collab.utils.UpdateEncoder
Packages that use UpdateEncoder
Package
Description
-
Uses of UpdateEncoder in io.keikai.doc.collab.structs
Methods in io.keikai.doc.collab.structs with parameters of type UpdateEncoderModifier and TypeMethodDescriptionvoidAbstractContent.write(UpdateEncoder encoder, int offset) Writes this content to an encoder.voidAbstractStruct.write(UpdateEncoder encoder, int offset) Write data to the encoder.voidContentAny.write(UpdateEncoder encoder, int offset) voidContentBinary.write(UpdateEncoder encoder, int offset) voidContentDeleted.write(UpdateEncoder encoder, int offset) voidContentDoc.write(UpdateEncoder encoder, int offset) voidContentEmbed.write(UpdateEncoder encoder, int offset) voidContentFormat.write(UpdateEncoder encoder, int offset) voidContentJSON.write(UpdateEncoder encoder, int offset) voidContentString.write(UpdateEncoder encoder, int offset) voidContentType.write(UpdateEncoder encoder, int offset) voidGC.write(UpdateEncoder encoder, int offset) voidItem.write(UpdateEncoder encoder, int offset) Transform the properties of this type to binary and write it to a BinaryEncoder.voidSkip.write(UpdateEncoder encoder, int offset) -
Uses of UpdateEncoder in io.keikai.doc.collab.types
Methods in io.keikai.doc.collab.types with parameters of type UpdateEncoderModifier and TypeMethodDescriptionvoidAbstractType.write(UpdateEncoder encoder) Writes this type's state to the encoder.voidYArray.write(UpdateEncoder encoder) Writes the type reference of this YArray to the encoder.voidYMap.write(UpdateEncoder encoder) Write the type reference to the encoder.voidYText.write(UpdateEncoder encoder) voidYXmlElement.write(UpdateEncoder encoder) Transform the properties of this type to binary and write it to a BinaryEncoder.voidYXmlFragment.write(UpdateEncoder encoder) Transform the properties of this type to binary and write it to a BinaryEncoder.voidYXmlHook.write(UpdateEncoder encoder) Transform the properties of this type to binary and write it to a BinaryEncoder.voidYXmlText.write(UpdateEncoder encoder) -
Uses of UpdateEncoder in io.keikai.doc.collab.utils
Classes in io.keikai.doc.collab.utils that implement UpdateEncoderMethods in io.keikai.doc.collab.utils that return UpdateEncoderMethods in io.keikai.doc.collab.utils with parameters of type UpdateEncoderModifier and TypeMethodDescriptionstatic Uint8ArrayEncodings.encodeStateAsUpdateV2(Doc doc, Uint8Array encodedTargetStateVector, UpdateEncoder encoder) Encode state as an update message.static voidEncodings.writeClientsStructs(UpdateEncoder encoder, StructStore store, Map<Integer, Integer> stateMap) Write client structs to the encoder.static voidEncodings.writeStateAsUpdate(UpdateEncoder encoder, Doc doc, Map<Integer, Integer> targetStateVector) Write all the document as a single update message.static voidEncodings.writeStructs(UpdateEncoder encoder, List<AbstractStruct> structs, int client, int clock) Write structs to the encoder.static voidEncodings.writeStructsFromTransaction(UpdateEncoder encoder, Transaction transaction) Write structs from a transaction.static booleanTransaction.writeUpdateMessageFromTransaction(UpdateEncoder encoder, Transaction transaction) Writes an update message from the transaction to the encoder.Constructors in io.keikai.doc.collab.utils with parameters of type UpdateEncoderModifierConstructorDescriptionLazyStructWriter(UpdateEncoder encoder) Constructor for UpdateEncoderV1.