Contents

init(data:)

Initializes a data object 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.

See Also

Creating Data