We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6edf8b commit 7b2f91aCopy full SHA for 7b2f91a
stdlib/public/core/CString.swift
@@ -180,7 +180,7 @@ public func _persistCString(_ p: UnsafePointer<CChar>?) -> [CChar]? {
180
/// the given pointer using the specified encoding.
181
///
182
/// This internal helper takes the string length as an argument.
183
-public func _decodeCString<Encoding : UnicodeCodec>(
+func _decodeCString<Encoding : UnicodeCodec>(
184
_ cString: UnsafePointer<Encoding.CodeUnit>,
185
as encoding: Encoding.Type, length: Int,
186
repairingInvalidCodeUnits isRepairing: Bool = true)
0 commit comments