MCPcopy Create free account
hub / github.com/couchbase/fleece / createCFString

Method createCFString

ObjC/slice+CoreFoundation.cc:26–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

24 { }
25
26 CFStringRef pure_slice::createCFString() const {
27 if (!buf)
28 return nullptr;
29 return CFStringCreateWithBytes(nullptr, (const uint8_t*)buf, size,
30 kCFStringEncodingUTF8, false);
31 }
32
33
34 CFDataRef pure_slice::createCFData() const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected