Ejemplo n.º 1
0
 internal UshortList(CheckedUShortPointer unsafeArray, int arrayLength) 
 {
     _storage = new UnsafeUshortArray(unsafeArray, arrayLength); 
     _length = arrayLength;
 }
Ejemplo n.º 2
0
 internal UnsafeUshortArray(CheckedUShortPointer array, int arrayLength) 
 { 
     _array = array.Probe(0, arrayLength);
     _arrayLength.Value = arrayLength; 
 }