advance

fun advance(length: Int, errCondition: String)

Advance the position by the given length. Throws an exception if this would advance beyond the end of the stream.

Parameters

length

The length by which to advance the stream position.