advance method

void advance(
  1. Struct s, [
  2. int times = 1
])

Advances the read offset by the size of the given format multiplied by times.

Implementation

void advance(Struct s, [int times = 1]) {
  readOffset += s.size * times;
}