cast<U extends NativeType> method

Pointer<U> cast<U extends NativeType>()

Casts this pointer to an other type.

Implementation

Pointer<U> cast<U extends NativeType>() => Pointer<U>._(
  address,
  boundMemory,
  _isUnsizedType<U>() ? null : sizeOf<U>(),
);