maximumLengthOfBytes(using:)
Returns the maximum number of bytes needed to store the String in a given encoding.
Declaration
func maximumLengthOfBytes(using encoding: String.Encoding) -> IntReturns the maximum number of bytes needed to store the String in a given encoding.
func maximumLengthOfBytes(using encoding: String.Encoding) -> Int