skip

fun skip(numBytes: Int): ByteDataReader

Skips a specified number of bytes in the byte array.

Return

This ByteDataReader instance to chain method calls.

Parameters

numBytes

The number of bytes to skip.

Throws

If the numBytes is less than 1 or would extend beyond the end of the byte array to indicate potential code error in calculating the skipping distance.