Initializer

init(contentsOfMappedFile:)

Returns a data object initialized by reading into it the mapped file specified by a given path.

Declaration

init?(contentsOfMappedFile path: String)

Parameters

path

The absolute path of the file from which to read data.

Return Value

A data object initialized by reading into it the mapped file specified by path. The returned object might be different than the original receiver.

See Also

Related Symbols

init?(contentsOfFile: String)

Returns a data object initialized by reading into it the data from the file specified by a given path.

class func dataWithContentsOfMappedFile(String)

Creates and returns a data object from the mapped file specified by path.