From 95a2a66c54ab6dd9653befb49297d20b5252f6a6 Mon Sep 17 00:00:00 2001 From: Jens Alfke Date: Wed, 18 Oct 2023 15:24:50 -0700 Subject: [PATCH] Expose impl constant Trust::kDontParse in FLExpert.h --- API/fleece/FLExpert.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/API/fleece/FLExpert.h b/API/fleece/FLExpert.h index 87ec21d2..1667dc87 100644 --- a/API/fleece/FLExpert.h +++ b/API/fleece/FLExpert.h @@ -31,6 +31,12 @@ extern "C" { /** \defgroup Obscure Rarely-needed or advanced functions @{ */ + /** For use with \ref FLDoc_FromResultData. This option prevents the function from parsing the + data at all; you are responsible for locating the FLValues in it. + This is for the case where you have trusted data in a custom format that contains Fleece- + encoded data within it. You still need an FLDoc to access the data safely (especially to + retain FLValues), but it can't be parsed as-is. */ + #define kFLTrustedDontParse FLTrust(-1) /** \name Delta Compression @{