Returns as an NSData object the contents of the file at at given path.
Original signature is '- (NSData *)contentsAtPath:(NSString *)path'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- path (NSString)
- The path of a file.
Return Value
The contents of the file specified by path as an NSData object. If path specifies a directory, or if some other error occurs, returns nil.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)