Initializer

init(data:​)

Returns a data object initialized with the contents of another data object.

Declaration

init(data: Data)

Parameters

data

A data object.

Return Value

A data object initialized with the contents data. The returned object might be different than the original receiver.

See Also

Related Symbols

data​With​Data:​

Creates and returns a data object containing the contents of another data object.