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
TSource 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)
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)
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)
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)
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)
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 (向量中的元素的类型).