Contents

init(length:value:)

Initialize a new buffer with the given array of elements.

Declaration

init(length: Int, value: UnsafeMutableRawPointer!)

Parameters

  • length:

    The number of elements in the new buffer.

  • value:

    A pointer to the array of elements to be included in the new buffer.

See Also

Initialization