Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in unsafe-pointers

UnsafePointer<CGAffineTransform> from CGAffineTransform

How do I cast an __NSMallocBlock__ to its underlying type in Swift 3?

Swift UnsafeMutablePointer<Unmanaged<CFString>?> allocation and print

Xcode 10 Swift build error: "Converting non-escaping value to 'T' may allow it to escape"

Getting pointer for first entry in an array

c# unsafe-pointers

Cast a Swift struct to UnsafeMutablePointer<Void>

If a function returns an UnsafeMutablePointer is it our responsibility to destroy and dealloc?

Cannot assign value of type UnsafeMutablePointer ObjCBool in Swift

UnsafePointer<UInt8> initializer in Swift 3

ios swift3 unsafe-pointers

How to get bytes out of an UnsafeMutableRawPointer?

swift unsafe-pointers

Converting an UnsafePointer with length to a Swift Array type

c arrays swift unsafe-pointers

Warning: Initialization of 'UnsafeBufferPointer<T>' results in a dangling buffer pointer

How to cast self to UnsafeMutablePointer<Void> type in swift

Swift 5.0: 'withUnsafeBytes' is deprecated: use `withUnsafeBytes<R>(...)

Swift 3 UnsafePointer($0) no longer compile in Xcode 8 beta 6