void CheckIdx(Int32 index) { if (index < 0 || index >= Size) { NativeHelper.ArrayOutOfRange(); } }
public void *GetShapePtr(int idx) { if (idx < 0 || idx >= count) { NativeHelper.ArrayOutOfRange(); } return(_ptrs[idx]); }