Skip to content

NumericCastAddressChain<TConnector, TFrom, TTo>.CastingModeType ​

Defines the casting mode for numeric conversions.

Kind: Enum

Namespace: ConnectorLib.Memory

Inheritance: IComparable → IConvertible → IFormattable → ISpanFormattable

Public Attributes

NumericCastAddressChain.CastingModeType

Checked

Throws an overflow exception for any values that fall outside the representable range of the current type.

NumericCastAddressChain.CastingModeType

Saturating

Saturates any values that fall outside the representable range of the current type.

NumericCastAddressChain.CastingModeType

Truncating

Truncates any values that fall outside the representable range of the current type.

Enums

NumericCastAddressChain<TConnector, TFrom, TTo>.CastingModeType

[Checked = 0, Saturating = 1, Truncating = 2]

Defines the casting mode for numeric conversions.