public void clear() {lastElement = 0;currentOffset = 0;Arrays.fill(offsets, 0);pool.reset(false, true); }
public void Clear(){lastElement = 0;currentOffset = 0;Array.Clear(offsets, 0, offsets.Length);pool.Reset(false, true); }