Initializes a data object with the content of the file at a given path.
- iOS 2.0+
- macOS 10.4+
- tvOS 9.0+
- watchOS 2.0+
The absolute path of the file from which to read data.
A mask that specifies options for reading the data. Constant components are described in
If an error occurs, upon return contains an
NSErrorobject that describes the problem.
A data object initialized by reading into it the data from the file specified by