Generic Instance Method

withUnsafeBytes(_:)

Accesses the raw bytes in the data's buffer.

Declaration

func withUnsafeBytes<ResultType, ContentType>(_ body: (UnsafePointer<ContentType>) throws -> ResultType) rethrows -> ResultType

Discussion

See Also