private void seekCurrent(int pos) { int result = Tell() + pos; if (result < 0 || result > bitsAllocated()) throw new ArgumentOutOfRangeException("pos"); seekSet(result); } }