cast<U extends NativeType> method
Casts this pointer to an other type.
Implementation
Pointer<U> cast<U extends NativeType>() => new Pointer<U>._(
address, boundMemory, _isUnsizedType<U>() ? null : sizeOf<U>());