Skimming through the String
API just now I realized that all methods/properties involving null-terminated buffers have "CString" in the name, with the sole exception of String.init(validatingUTF8:)
. Renaming this to String.init(validatingUTF8CString:)
would make it consistent with the rest of the API.
5 Likes