| 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 { |
nothing calls this directly
no outgoing calls
no test coverage detected