ArrayExtensionsCast Method

Overload List

CastTFrom, TTo(ArraySegmentTFrom) Reinterprets the specified arraySegment by returning a CastArrayTFrom, TTo struct, so its element type is cast from TFrom to TTo. No heap allocation occurs when using this method.
CastTFrom, TTo(TFrom) Reinterprets the specified array by returning a CastArrayTFrom, TTo struct, so its element type is cast from TFrom to TTo. No heap allocation occurs when using this method.

See Also