THotPDF.ExportLoadedObjectGraphJSONToStream Method

결정적 v2 객체 그래프 스냅숏이나 증분 업데이트를 호출자가 소유한 destination으로 streaming합니다

선언

function ExportLoadedObjectGraphJSONToStream(
    Destination: TStream;
    StreamPayload: THPDFObjectGraphStreamPayload;
    const ExternalStreamDirectory: TFileName;
    Kind: THPDFObjectGraphJSONKind;
    out AInfo: THPDFObjectGraphExportInfo): boolean;

동작

객체는 객체 번호와 세대 순으로 정렬하고, 사전 키는 바이트 순으로 정렬하며, stream 페이로드는 제한된 청크 단위로 복사하거나 base64로 인코딩합니다

ogjkSnapshot은 로드된 그래프 전체를 고르고, ogjkIncrementalUpdate는 dirty, must-write, 삭제된 객체를 고릅니다

외부 페이로드는 ExternalStreamDirectory 안에 원자적으로 공개됩니다

destination이 잘못됐거나 그래프 상태를 쓸 수 없거나 페이로드 실패, 미해결 참조가 있으면 False를 반환하고 카운터는 AInfo로 보고합니다

버전 관리 객체 그래프 JSON 왕복