writeString(_:)

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

    ByteBuffer-aux.swift:99
    @discardableResult mutating func writeString(_ string: String) -> Int

    Parameters

    string

    The string 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