Initializes a data object with the data from the location specified by a given URL.
Mac Catalyst 13.0+
The URL from which to read data.
A mask that specifies options for reading the data. Constant components are described in NSData.ReadingOptions.
Use this method to convert data:// URLs to NSData objects. You can also use it to read short files synchronously. If you need to read potentially large files, initialize an InputStream with inputStreamWithURL:, then read the file incrementally.