Binds this buffer’s memory to the specified type and returns a typed buffer of the bound memory.
- Xcode 9.3+
- Swift Standard Library
Tto bind the memory to.
A typed buffer of the newly bound memory. The memory in this region is bound to
T, but has not been modified in any other way. The typed buffer references
self instances of
bind method to bind the memory referenced by this buffer to the type
T. The memory must be uninitialized or initialized to a type that is layout compatible with
T. If the memory is uninitialized, it is still uninitialized after being bound to