Manual Memory Management
Allocate and manage memory manually.
Topics
First Steps
Safe Memory Access
Typed Pointers
Raw Pointers
Memory Access
withUnsafePointer(to:_:)withUnsafePointer(to:_:)withUnsafeMutablePointer(to:_:)withUnsafeBytes(of:_:)withUnsafeBytes(of:_:)withUnsafeMutableBytes(of:_:)withUnsafeTemporaryAllocation(of:capacity:_:)withUnsafeTemporaryAllocation(byteCount:alignment:_:)swap(_:_:)exchange(_:with:)