writeData(_:)

    Write the bytes of data into this ByteBuffer at the writer index, moving the writer index forward appropriately.

    ByteBuffer-foundation.swift:243
    @discardableResult mutating func writeData<D>(_ data: D) -> Int where D : DataProtocol

    Parameters

    data

    The data to write.

    Returns

    The number of bytes written.

    Other members in extension

    Types

    Type members

    Instance members