An iterator that produces the bytes of a file handle.
Members (1)
method · iOS 15.0+
next
TypeScript
next(): Promise<(number) | null>
Swift declaration
mutating func next() async throws -> UInt8?
Asynchronously advances to the next element and returns it, or ends the
sequence if there is no next element.
- Returns: The next element, if it exists, or `nil` to signal the end of
the sequence.