-
Notifications
You must be signed in to change notification settings - Fork 0
Pointer`1
Assembly: Narumikazuchi.dll
Namespace: Narumikazuchi
Represents a reference to a struct or a reference to a reference for a class.
public unsafe struct Pointer<T>Pointer(void*)
Pointer(System.IntPtr)
AddressOf(ref T)
++(Pointer<T>)
--(Pointer<T>)
+(Pointer<T>, System.Int64)
-(Pointer<T>, System.Int64)
implicit Pointer<T>(System.IntPtr)
implicit Pointer<T>(void*)
Address
Value
this[System.Int32]
Initializes a new instance of the Pointer<T> struct.
Pointer(void*);Initializes a new instance of the Pointer<T> struct.
Pointer(System.IntPtr);Creates a pointer from the address of the reference to the specified T.
Pointer<T> AddressOf(ref T);Increments the Pointer<T> position by 1 and returns the new Pointer<T>.
Pointer<T> operator ++(Pointer<T>);Decrements the Pointer<T> position by 1 and returns the new Pointer<T>.
Pointer<T> operator --(Pointer<T>);Increments the Pointer<T> position by the specified amount and returns the new Pointer<T>.
Pointer<T> operator +(Pointer<T>,
System.Int64);Decrements the Pointer<T> position by the specified amount and returns the new Pointer<T>.
Pointer<T> operator -(Pointer<T>,
System.Int64);Implcitly casts the specified System.IntPtr into a Pointer<T>.
implicit operator Pointer<T>(System.IntPtr);Implcitly casts the specified void* into a Pointer<T>.
implicit operator Pointer<T>(void*);Gets the current address of this Pointer<T>.
System.IntPtr Address { get; }Gets or sets the value of where the Pointer<T> currently points at.
T Value { get; set; }Gets or sets the value of where the Pointer<T> at the offset specified by the index points at.
T this[System.Int32] { get; set; }