Contents

byteSourceForRelatedFileName(_:)

Creates a new byte source for a related file.

Declaration

func byteSourceForRelatedFileName(_ fileName: String) throws -> MEByteSource

Parameters

  • fileName:

    The related file name that exists in the byte source’s parent directory.

Return Value

A byte source.

Discussion

Requests creation of a new MEByteSource for a file related to the receiving MEByteSource. Only file names returned by the relatedFileNamesInSameDirectory method may be accessed.

See Also

Performing operations on a byte source