Contents

init(capacity:sizeMultiple:)

Creates a buffer descriptor with the given capacity and size alignment.

Declaration

init(capacity: Int, sizeMultiple: Int = 16)

Parameters

  • capacity:

    The capacity of the buffer, in bytes.

  • sizeMultiple:

    The required alignment of the buffer’s size, in bytes. Defaults to 16.