Couchbase Lite C
Couchbase Lite C API
Functions
Fleece CoreFoundation and Objective-C Helpers

Functions

FLEECE_PUBLIC bool FLEncoder_WriteCFObject (FLEncoder, CFTypeRef)
 Writes a Core Foundation (or Objective-C) object to an Encoder. More...
 
FLEECE_PUBLIC CFTypeRef FLValue_CopyCFObject (FLValue FL_NULLABLE)
 Returns a Value as a corresponding CoreFoundation object. More...
 
FLEECE_PUBLIC FLValue FLDict_GetWithCFString (FLDict FL_NULLABLE, CFStringRef)
 Same as FLDictGet, but takes the key as a CFStringRef. More...
 

Detailed Description

Function Documentation

◆ FLDict_GetWithCFString()

FLEECE_PUBLIC FLValue FLDict_GetWithCFString ( FLDict  FL_NULLABLE,
CFStringRef   
)

Same as FLDictGet, but takes the key as a CFStringRef.

◆ FLEncoder_WriteCFObject()

FLEECE_PUBLIC bool FLEncoder_WriteCFObject ( FLEncoder  ,
CFTypeRef   
)

Writes a Core Foundation (or Objective-C) object to an Encoder.

Supports all the JSON types, as well as CFData.

◆ FLValue_CopyCFObject()

FLEECE_PUBLIC CFTypeRef FLValue_CopyCFObject ( FLValue  FL_NULLABLE)

Returns a Value as a corresponding CoreFoundation object.

Caller must CFRelease the result.