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
srcTSource value (源值).
separatorstring(Ignore) The separator (分隔符).
noFixEndianbool(Ignore) No fix endian (不修正端序).
Returns
- string
Returns hexadecimal string (返回十六进制字符串).
Type Parameters
TThe type of the
srcvalue (源值的类型).
GetHex<T>(Vector<T>, string?, bool)
public static string GetHex<T>(Vector<T> src, string? separator = null, bool noFixEndian = false) where T : struct
Parameters
srcVector<T>Source value (源值).
separatorstring(Optional) The separator (分隔符).
noFixEndianbool(Optional) No fix endian (不修正端序).
Returns
- string
Returns hexadecimal string (返回十六进制字符串).
Type Parameters
TThe 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
srcVector64<T>Source value (源值).
separatorstring(Optional) The separator (分隔符).
noFixEndianbool(Optional) No fix endian (不修正端序).
Returns
- string
Returns hexadecimal string (返回十六进制字符串).
Type Parameters
TThe 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
srcVector128<T>Source value (源值).
separatorstring(Optional) The separator (分隔符).
noFixEndianbool(Optional) No fix endian (不修正端序).
Returns
- string
Returns hexadecimal string (返回十六进制字符串).
Type Parameters
TThe 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
srcVector256<T>Source value (源值).
separatorstring(Optional) The separator (分隔符).
noFixEndianbool(Optional) No fix endian (不修正端序).
Returns
- string
Returns hexadecimal string (返回十六进制字符串).
Type Parameters
TThe 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
srcVector512<T>Source value (源值).
separatorstring(Optional) The separator (分隔符).
noFixEndianbool(Optional) No fix endian (不修正端序).
Returns
- string
Returns hexadecimal string (返回十六进制字符串).
Type Parameters
TThe vector element type (向量中的元素的类型).