drop(_:)

Reads and discards the given number of bytes.

BufferedReader.swift:170
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.