Table of Contents

Method ExAsByte

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

ExAsByte<T>(Vector64<T>)

(ExType) Reinterprets a Vector64<T> as a new Vector64<T> of type byte (将 Vector64<T> 重新解释为 byte 类型的新 Vector64<T>).

public static Vector64<byte> ExAsByte<T>(this Vector64<T> vector) where T : struct

Parameters

vector Vector64<T>

The vector to reinterpret (要重新解释的向量).

Returns

Vector64<byte>

vector reinterpreted as a new Vector64<T> of type byte (重新解释为 byte 类型的 Vector64<T> 向量).

Type Parameters

T

The type of the input vector element (输入向量元素的类型).

See Also
ExAs<TFrom, TTo>(Vector64<TFrom>)