Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.

Pointer`1

Davy Ganzel edited this page Mar 23, 2022 · 1 revision

Assembly: Narumikazuchi.dll
Namespace: Narumikazuchi

Description

Represents a reference to a struct or a reference to a reference for a class.

public unsafe struct Pointer<T>

Members

Defined

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]

Constructors

Pointer(void*)

Initializes a new instance of the Pointer<T> struct.

Pointer(void*);

Pointer(System.IntPtr)

Initializes a new instance of the Pointer<T> struct.

Pointer(System.IntPtr);

Methods

AddressOf(ref T)

Creates a pointer from the address of the reference to the specified T.

Pointer<T> AddressOf(ref T);

Operators

++(Pointer<T>)

Increments the Pointer<T> position by 1 and returns the new Pointer<T>.

Pointer<T> operator ++(Pointer<T>);

--(Pointer<T>)

Decrements the Pointer<T> position by 1 and returns the new Pointer<T>.

Pointer<T> operator --(Pointer<T>);

+(Pointer<T>, System.Int64)

Increments the Pointer<T> position by the specified amount and returns the new Pointer<T>.

Pointer<T> operator +(Pointer<T>, 
                      System.Int64);

-(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);

implicit Pointer<T>(System.IntPtr)

Implcitly casts the specified System.IntPtr into a Pointer<T>.

implicit operator Pointer<T>(System.IntPtr);

implicit Pointer<T>(void*)

Implcitly casts the specified void* into a Pointer<T>.

implicit operator Pointer<T>(void*);

Properties

Address

Gets the current address of this Pointer<T>.

System.IntPtr Address { get; }

Value

Gets or sets the value of where the Pointer<T> currently points at.

T Value { get; set; }

Indexers

this[System.Int32]

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; }

Clone this wiki locally