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

BufferN() protected method

protected BufferN ( int mark, int pos, int lim, int cap ) : java.lang
mark int
pos int
lim int
cap int
return java.lang
        protected BufferN(int mark, int pos, int lim, int cap)
        {
            // package-private
            if (cap < 0)
                throw new IllegalArgumentException();
            _capacity = cap;
            limit(lim);
            position(pos);
            if (mark >= 0)
            {
                if (mark > pos)
                    throw new IllegalArgumentException();
                _mark = mark;
            }
        }