Skip to content

NumericCastAddressChain<TConnector, TFrom, TTo> ​

An address chain that casts a numeric value from one type to another using a specified casting mode.

Kind: Class

Namespace: ConnectorLib.Memory

Inheritance: CastAddressChain<TConnector, TFrom, TTo>

Public Constructors

NumericCastAddressChain<TConnector, TFrom, TTo>(TypedAddressChainBase parent, NumericCastAddressChain.CastingModeType castingMode)

An address chain that casts a numeric value from one type to another using a specified casting mode.

Public Member Functions

virtual override

bool

Calculate(ulong out address)

virtual override

string

ToString()

virtual override

bool

TryGetValue(TTo out value)

virtual override

bool

TryGetValue(Endianness endianness, TTo out value)

virtual override

bool

TrySetValue(TTo value)

virtual override

bool

TrySetValue(Endianness endianness, TTo value)

Properties

NumericCastAddressChain.CastingModeType

CastingMode

[get, set]

The casting mode to use when converting between numeric types.

ulong

Address

[get, ]

TTo

Value

[get, set]