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

Functions

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

Detailed Description

Function Documentation

◆ FLDict_GetWithCFString()

FLValue FLDict_GetWithCFString ( FLDict  ,
CFStringRef   
)

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

◆ FLEncoder_WriteCFObject()

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()

CFTypeRef FLValue_CopyCFObject ( FLValue  )

Returns a Value as a corresponding CoreFoundation object.

Caller must CFRelease the result.