Contents

write(to:options:)

Writes the contents of the data buffer to a location.

Declaration

func write(to url: URL, options: Data.WritingOptions = []) throws

Parameters

  • url:

    The location to write the data into.

  • options:

    Options for writing the data. Default value is [].

See Also

Reading and Writing Data