Initializes every element in this buffer’s memory to a copy of the given value.
- Xcode 9.3+
- Swift Standard Library
The instance to initialize this buffer’s memory with.
The destination memory must be uninitialized or the buffer’s
Element must be a trivial type. After a call to
initialize(repeating:), the entire region of memory referenced by this buffer is initialized.