Operation which inserts a chunk into a "bin" RGA binary string data type.

interface JsonCodecInsBinOperation {
    after: JsonCodecTimestamp;
    obj: JsonCodecTimestamp;
    op: "ins_bin";
    value: string;
}

Hierarchy (view full)

Properties

Properties

Specifies the ID of element after which to attempt to insert the substring using the RGA algorithm.

Object on which to perform the operation.

For "val" CRDT object, if omitted, or set to falsy value, or equal to origin [0, 0], the "set" operation is applied to the root object, which is LWW Register of a pointer to another CRDT data type.

op: "ins_bin"

Mnemonic.

value: string

The binary data to insert, encoded using Base64.