skipBytes method

void skipBytes(
  1. int bytes
)

Advances the buffer position by the specified number of bytes.

bytes The number of bytes to skip (must not exceed buffer bounds)

Implementation

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