One Logo Pool Ball
Foundation · IOS API REFERENCE

FileHandle.AsyncBytes

struct · iOS 15.0+ · SDK 27.1

struct AsyncBytes

An asynchronous sequence of bytes. Use the `for`-`await`-`in` syntax to iterate over the bytes in this sequence.

Members (1)

method · iOS 15.0+

makeAsyncIterator

TypeScript
makeAsyncIterator(): FileHandle_AsyncBytes_Iterator
Swift declaration
func makeAsyncIterator() -> FileHandle.AsyncBytes.Iterator

Creates the asynchronous iterator that produces elements of this asynchronous sequence. - Returns: An instance of the `AsyncIterator` type used to produce elements of the asynchronous sequence.

Skipped declarations

No declarations were skipped in this snapshot.

All Foundation types →