Created
Jan 9, 2020 12:51 AM
Tags
SwiftMemoBookmark
Keywords
UnsafeRawPointer
printing value from address code from Swift's header
func print<T>(address p: UnsafeRawPointer, as type: T.Type) {
let value = p.load(as: type)
print(value)
}
Builtin.swift