setUUIDBytes(_:at:)

    Set the bytes of the UUID into this ByteBuffer at index, allocating more storage if necessary. Does not move the writer index.

    ByteBuffer-foundation.swift:316
    @discardableResult mutating func setUUIDBytes(_ uuid: UUID, at index: Int) -> Int

    Parameters

    uuid

    The UUID to set.

    index

    The index into the buffer where uuid should be written.

    Returns

    The number of bytes written.

    Other members in extension

    Types

    Type members

    Instance members