asCopy<T extends TypedDataList> method
Copies length bytes, viewed as T.
T must be a concrete TypedDataList type: Uint8List, Int32List,
Float32List, etc. Throws if T isn't one of those.
Implementation
@override
T asCopy<T extends TypedDataList>(int length) => ptr.asCopy<T>(length);