Rest
...args: ArgTypesMakes a new NativePointer whose value is this
+ v
.
Makes a new NativePointer whose value is this
& v
.
Makes a new NativePointer by taking this
and blending it with
a constant, which may in turn be passed to sign()
as data
.
Value to blend with.
Optional
thisArg: null | NativePointerValueRest
...args: ArgTypesReturns an integer comparison result just like String#localeCompare().
Returns a boolean indicating whether v
is equal to this
; i.e. it contains the same memory address.
Makes a new NativePointer whose value is ~`this`.
Makes a new NativePointer whose value is this
| v
.
Makes a new NativePointer whose value is this
>> v
.
Makes a new NativePointer whose value is this
<< v
.
Makes a new NativePointer by taking the bits of this
and adding
pointer authentication bits, creating a signed pointer. This is a
no-op if the current process does not support pointer
authentication, returning this
instead of a new value.
Optional
key: PointerAuthenticationKeyThe key to use. Defaults to ia
.
Optional
data: string | number | NativePointerValue | Int64 | UInt64The data to use. Defaults to 0
.
Makes a new NativePointer by taking the bits of this
and
removing its pointer authentication bits, creating a raw pointer.
This is a no-op if the current process does not support pointer
authentication, returning this
instead of a new value.
Optional
key: PointerAuthenticationKeyThe key that was used to sign this
. Defaults to ia
.
Makes a new NativePointer whose value is this
- v
.
Makes a new NativePointer whose value is this
^ v
.
Generated using TypeDoc
Represents a native pointer value whose size depends on Process#pointerSize.