net.sf.jni4net.nio.BufferN.checkIndex C# (CSharp) Method

checkIndex() private method

private checkIndex ( int i ) : int
i int
return int
        internal int checkIndex(int i)
        {
            // package-private
            if ((i < 0) || (i >= _limit))
                throw new IndexOutOfBoundsException();
            return i;
        }

Same methods

BufferN::checkIndex ( int i, int nb ) : int