writeSubstring(_:)

    Write substring into this ByteBuffer using UTF-8 encoding, moving the writer index forward appropriately.

    ByteBuffer-aux.swift:248
    @discardableResult mutating func writeSubstring(_ substring: Substring) -> Int

    Parameters

    substring

    The substring to write.

    Returns

    The number of bytes written.

    Other members in extension

    Types

    Typealiases

    Show implementation details (2)

    Hide implementation details

    Type members

    Instance members

    Show obsolete interfaces (3)

    Hide obsolete interfaces