THPDFObjectGraphJSONLimits Record
在提交对象图之前,限定解析器的工作量、保留的值和导入的二进制载荷
声明
THPDFObjectGraphJSONLimits = record
MaxJSONBytes: Int64;
MaxObjectCount: Integer;
MaxObjectNumber: Integer;
MaxNestingDepth: Integer;
MaxStringBytes: Int64;
MaxStreamBytes: Int64;
MaxAggregateStreamBytes: Int64;
class function Default: THPDFObjectGraphJSONLimits; static;
end;
Usage
从 THPDFObjectGraphJSONLimits.Default 起步,按交换通道可信的规模逐项调低各项上限
结构性上限必须为正数,流字节上限可以为零(表示拒绝载荷字节),MaxJSONBytes 必须为有界的输入结束检测留出余量