Skip to content

okio / okio / BufferedSource / skip

skip

(js, jvm, native) abstract fun skip(byteCount:Long):Unit(js)

Reads and discards byteCount bytes from this source. Throws an java.io.EOFException if the source is exhausted before the requested bytes can be skipped.

(jvm)

Reads and discards byteCount bytes from this source. Throws an java.io.EOFException if the source is exhausted before the requested bytes can be skipped.