skip method

void skip(
  1. int n
)

Skip forward n bytes.

Implementation

void skip(int n) {
  _p += n;
  if (_p > _bytes.length) {
    throw FormatException('WAV is corrupted, or not a WAV file.');
  }
}