Instance Method

getValue(_:)

Copies the value into the specified buffer.

Declaration

func getValue(_ value: UnsafeMutableRawPointer)

Parameters

buffer

A buffer into which to copy the value. The buffer must be large enough to hold the value.

See Also

Working with Raw Values

init(bytes: UnsafeRawPointer, objCType: UnsafePointer<Int8>)

Initializes a value object to contain the specified value, interpreted with the specified Objective-C type.

init(UnsafeRawPointer, withObjCType: UnsafePointer<Int8>)

Creates a value object containing the specified value, interpreted with the specified Objective-C type.

var objCType: UnsafePointer<Int8>

A C string containing the Objective-C type of the data contained in the value object.