skipBytes method

void skipBytes(
  1. int bytes
)

Skips the given number of bytes in the read buffer.

@param bytes the number of bytes to skip.

Implementation

void skipBytes(int bytes) {
  assert(_bufferPosition >= 0 && _bufferPosition + bytes <= _bufferData.length);
  this._bufferPosition += bytes;
}