transcode(_:from:)
Converts a scalar from another encoding’s representation, returning nil if the scalar can’t be represented in this encoding.
Declaration
static func transcode<FromEncoding>(_ content: FromEncoding.EncodedScalar, from _: FromEncoding.Type) -> Unicode.ASCII.EncodedScalar? where FromEncoding : _UnicodeEncodingDiscussion
A default implementation of this method will be provided automatically for any conforming type that does not implement one.