Instance Methodswift-nio 2.81.0_NIOFileSystem
drop(_:)
Reads and discards the given number of bytes.
- iOS
- 13.0+
- macOS
- 10.15+
- tvOS
- 13.0+
- watchOS
- 6.0+
mutating func drop(_ count: Int) async throws
Parameters
- count
The number of bytes to read and discard.