pdfrx_web
    Preparing search index...

    Type Alias PdfRawPatchOperation

    PdfRawPatchOperation:
        | {
            key: string;
            op: "dictionarySet";
            target: PdfRawTarget;
            value: PdfRawPatchValue;
        }
        | { key: string; op: "dictionaryRemove"; target: PdfRawTarget }
        | { op: "arrayAppend"; target: PdfRawTarget; value: PdfRawPatchValue }
        | {
            index: number;
            op: "arraySet";
            target: PdfRawTarget;
            value: PdfRawPatchValue;
        }
        | { index: number; op: "arrayRemove"; target: PdfRawTarget }
        | { data: Uint8Array; op: "streamSetData"; target: PdfRawTarget }

    Low-level worker-protocol operation compiled by PdfRawObjectEditor.

    Normal application code uses the editor's dictionary/array/stream methods. This union is useful to integrations that compile or inspect raw edit batches before applying them.