Instance Methodswift 6.0.1Swift

    makeContiguousUTF8

    If this string is not contiguous, make it so. If this mutates the string, it will invalidate any pre-existing indices.

    mutating func makeContiguousUTF8()

    Complexity: O(n) if non-contiguous, O(1) if already contiguous

    Other members in extension

    Types

    Typealiases

    Show obsolete interfaces (2)

    Hide obsolete interfaces

    Type members

    Show obsolete interfaces (17)

    Hide obsolete interfaces

    Instance members

    Show obsolete interfaces (3)

    Hide obsolete interfaces