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