Contents

init(data:)

Creates a filename by copying a character sequence data object.

Declaration

convenience init(data name: Data)

Parameters

  • name:

    The data object containing the character sequence to use for the filename. The sequence terminates if a NUL character exists prior to name.length.

Discussion

This initializer copies up to name.length characters of the sequence pointed to by bytes.

See Also

Creating a filename