public NIOFSIndexInput(String resourceDesc, FileChannel fc, long off, long length, int bufferSize) {super(resourceDesc, bufferSize);this.channel = fc;this.off = off;this.end = off + length;this.isClone = true;}

public NIOFSIndexInput(string resourceDesc, FileStream fc, long off, long length, int bufferSize): base(resourceDesc, bufferSize){this.m_channel = fc;this.m_off = off;this.m_end = off + length;this.isClone = true;}
