net.sf.jni4net.nio.BufferN.checkBounds C# (CSharp) 메소드

checkBounds() 정적인 개인적인 메소드

static private checkBounds ( int off, int len, int size ) : void
off int
len int
size int
리턴 void
        internal static void checkBounds(int off, int len, int size)
        {
            // package-private
            if ((off | len | (off + len) | (size - (off + len))) < 0)
                throw new IndexOutOfBoundsException();
        }