Contents

withTemporaryFileStream(_:)

Calls the given closure with a temporary file stream.

Declaration

static func withTemporaryFileStream<E>(_ body: (ArchiveByteStream) throws -> E) throws -> E

Parameters

  • body:

    A closure with the archive byte stream passed as a parameter.

Return Value

The result of the closure.

See Also

File Streaming