writeBytes(_:)

    Write bytes into this ByteBuffer. Moves the writer index forward by the number of bytes written.

    ByteBuffer-aux.swift:438
    @discardableResult mutating func writeBytes(_ bytes: UnsafeRawBufferPointer) -> Int

    Parameters

    bytes

    An UnsafeRawBufferPointer

    Returns

    The number of bytes written or bytes.count.

    Other members in extension

    Types

    Typealiases

    Show implementation details (2)

    Hide implementation details

    Type members

    Instance members

    Show obsolete interfaces (3)

    Hide obsolete interfaces