Replaced uint in TypedArray API with int

int is more C# consistent with other types of collections, even though
uint is more correct