Closed solarispika closed 9 months ago
Ensure sufficient space for null terminator in the buffer. Otherwise, it returns empty string easily for non-ascii characters.
Reference: https://developer.apple.com/documentation/corefoundation/1542721-cfstringgetcstring?language=objc
Ensure sufficient space for null terminator in the buffer. Otherwise, it returns empty string easily for non-ascii characters.
Reference: https://developer.apple.com/documentation/corefoundation/1542721-cfstringgetcstring?language=objc