Table of Contents

Method GetHex

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

GetHex<T>(T?, string?, bool)

Get hexadecimal string (取得十六进制字符串).

public static string GetHex<T>(T? src, string? separator = null, bool noFixEndian = false)

Parameters

src T

Source value (源值).

separator string

(Ignore) The separator (分隔符).

noFixEndian bool

(Ignore) No fix endian (不修正端序).

Returns

string

Returns hexadecimal string (返回十六进制字符串).

Type Parameters

T

The type of the src value (源值的类型).

GetHex<T>(Vector<T>, string?, bool)

Gets a hexadecimal string of the Vector (取得 Vector 的十六进制字符串).

public static string GetHex<T>(Vector<T> src, string? separator = null, bool noFixEndian = false) where T : struct

Parameters

src Vector<T>

Source value (源值).

separator string

(Optional) The separator (分隔符).

noFixEndian bool

(Optional) No fix endian (不修正端序).

Returns

string

Returns hexadecimal string (返回十六进制字符串).

Type Parameters

T

The vector element type (向量中的元素的类型).

GetHex<T>(Vector64<T>, string?, bool)

Gets a hexadecimal string of the Vector64 (取得 Vector64 的十六进制字符串).

public static string GetHex<T>(Vector64<T> src, string? separator = null, bool noFixEndian = false) where T : struct

Parameters

src Vector64<T>

Source value (源值).

separator string

(Optional) The separator (分隔符).

noFixEndian bool

(Optional) No fix endian (不修正端序).

Returns

string

Returns hexadecimal string (返回十六进制字符串).

Type Parameters

T

The vector element type (向量中的元素的类型).

GetHex<T>(Vector128<T>, string?, bool)

Gets a hexadecimal string of the Vector128 (取得 Vector128 的十六进制字符串).

public static string GetHex<T>(Vector128<T> src, string? separator = null, bool noFixEndian = false) where T : struct

Parameters

src Vector128<T>

Source value (源值).

separator string

(Optional) The separator (分隔符).

noFixEndian bool

(Optional) No fix endian (不修正端序).

Returns

string

Returns hexadecimal string (返回十六进制字符串).

Type Parameters

T

The vector element type (向量中的元素的类型).

GetHex<T>(Vector256<T>, string?, bool)

Gets a hexadecimal string of the Vector256 (取得 Vector256 的十六进制字符串).

public static string GetHex<T>(Vector256<T> src, string? separator = null, bool noFixEndian = false) where T : struct

Parameters

src Vector256<T>

Source value (源值).

separator string

(Optional) The separator (分隔符).

noFixEndian bool

(Optional) No fix endian (不修正端序).

Returns

string

Returns hexadecimal string (返回十六进制字符串).

Type Parameters

T

The vector element type (向量中的元素的类型).

GetHex<T>(Vector512<T>, string?, bool)

Gets a hexadecimal string of the Vector512 (取得 Vector512 的十六进制字符串).

public static string GetHex<T>(Vector512<T> src, string? separator = null, bool noFixEndian = false) where T : struct

Parameters

src Vector512<T>

Source value (源值).

separator string

(Optional) The separator (分隔符).

noFixEndian bool

(Optional) No fix endian (不修正端序).

Returns

string

Returns hexadecimal string (返回十六进制字符串).

Type Parameters

T

The vector element type (向量中的元素的类型).