語言

Vector.AsVectorByte<T>(Vector<T>) 方法

定義

將指定向量的位元重新詮釋為無符號位元組向量的位元。

public:
generic <typename T>
 where T : value class static System::Numerics::Vector<System::Byte> AsVectorByte(System::Numerics::Vector<T> value);
public:
generic <typename T>
 static System::Numerics::Vector<System::Byte> AsVectorByte(System::Numerics::Vector<T> value);
public static System.Numerics.Vector<byte> AsVectorByte<T>(System.Numerics.Vector<T> value) where T : struct;
public static System.Numerics.Vector<byte> AsVectorByte<T>(System.Numerics.Vector<T> value);
static member AsVectorByte : System.Numerics.Vector<'T (requires 'T : struct)> -> System.Numerics.Vector<byte> (requires 'T : struct)
static member AsVectorByte : System.Numerics.Vector<'T> -> System.Numerics.Vector<byte>
Public Shared Function AsVectorByte(Of T As Structure) (value As Vector(Of T)) As Vector(Of Byte)
Public Function AsVectorByte(Of T) (value As Vector(Of T)) As Vector(Of Byte)
Public Function AsVectorByte(Of T As Structure) (value As Vector(Of T)) As Vector(Of Byte)

類型參數

T

向量類型。 T 可以是任何原始數值類型。

參數

value
Vector<T>

來源向量。

傳回

重新詮釋的向量。

例外狀況

不支援()的valueT類型。

適用於