Functions | |
CFReleaser< CFStringRef > | fromBuffer (const uint8_t *buf, size_t buflen) |
Create a CFString by copying bytes from a raw buffer. More... | |
CFReleaser< CFStringRef > | fromStdString (const std::string &str) |
Create a CFString by copying characters from a std::string. More... | |
std::string | toStdString (CFStringRef cfStr) |
Convert a CFString to a std::string. More... | |
CFReleaser< CFStringRef > ndn::detail::cfstring::fromBuffer | ( | const uint8_t * | buf, |
size_t | buflen | ||
) |
Create a CFString by copying bytes from a raw buffer.
std::runtime_error | creation failed |
Definition at line 28 of file cf-string-osx.cpp.
CFReleaser< CFStringRef > ndn::detail::cfstring::fromStdString | ( | const std::string & | str | ) |
Create a CFString by copying characters from a std::string.
std::runtime_error | creation failed |
Definition at line 38 of file cf-string-osx.cpp.
std::string ndn::detail::cfstring::toStdString | ( | CFStringRef | cfStr | ) |
Convert a CFString to a std::string.
std::runtime_error | conversion failed |
Definition at line 48 of file cf-string-osx.cpp.