One byte might be ommitted before, so r += pos;