Safe NativePointer Cast