Contents

deinitialize()

Deinitializes every instance in this buffer.

Declaration

@discardableResult func deinitialize() -> UnsafeMutableRawBufferPointer

Return Value

A raw buffer to the same range of memory as this buffer. The range of memory is still bound to Element.

Discussion

The region of memory underlying this buffer must be fully initialized. After calling deinitialize(count:), the memory is uninitialized, but still bound to the Element type.