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