Method GetHexTo
- Namespace
- Zyl.VectorTraits
- Assembly
- VectorTraits.dll
GetHexTo<T>(Action<string>, T, string?, bool)
public static int GetHexTo<T>(Action<string> action, T src, string? separator = null, bool noFixEndian = false)
Parameters
actionAction<string>Output action (输出动作).
srcTSource value (源值).
separatorstring(Ignore) The separator (分隔符).
noFixEndianbool(Ignore) No fix endian (不修正端序).
Returns
- int
Returns the length of the output string (返回输出字符串的长度).
Type Parameters
TThe type of the
srcvalue (源值的类型).
GetHexTo<T>(Action<string>, Vector<T>, string?, bool)
Gets a hexadecimal string of the Vector and outputs it to Action (取得 Vector 的十六进制字符串, 并输出到 Action ).
public static int GetHexTo<T>(Action<string> action, Vector<T> src, string? separator = null, bool noFixEndian = false) where T : struct
Parameters
actionAction<string>Output action (输出动作).
srcVector<T>Source value (源值).
separatorstring(Optional) The separator (分隔符).
noFixEndianbool(Optional) No fix endian (不修正端序).
Returns
- int
Returns the length of the output string (返回输出字符串的长度).
Type Parameters
TThe vector element type (向量中的元素的类型).
GetHexTo<T>(Action<string>, Vector64<T>, string?, bool)
Gets a hexadecimal string of the Vector64 and outputs it to Action (取得 Vector64 的十六进制字符串, 并输出到 Action ).
public static int GetHexTo<T>(Action<string> action, Vector64<T> src, string? separator = null, bool noFixEndian = false) where T : struct
Parameters
actionAction<string>Output action (输出动作).
srcVector64<T>Source value (源值).
separatorstring(Optional) The separator (分隔符).
noFixEndianbool(Optional) No fix endian (不修正端序).
Returns
- int
Returns the length of the output string (返回输出字符串的长度).
Type Parameters
TThe vector element type (向量中的元素的类型).
GetHexTo<T>(Action<string>, Vector128<T>, string?, bool)
Gets a hexadecimal string of the Vector128 and outputs it to Action (取得 Vector128 的十六进制字符串, 并输出到 Action ).
public static int GetHexTo<T>(Action<string> action, Vector128<T> src, string? separator = null, bool noFixEndian = false) where T : struct
Parameters
actionAction<string>Output action (输出动作).
srcVector128<T>Source value (源值).
separatorstring(Optional) The separator (分隔符).
noFixEndianbool(Optional) No fix endian (不修正端序).
Returns
- int
Returns the length of the output string (返回输出字符串的长度).
Type Parameters
TThe vector element type (向量中的元素的类型).
GetHexTo<T>(Action<string>, Vector256<T>, string?, bool)
Gets a hexadecimal string of the Vector256 and outputs it to Action (取得 Vector256 的十六进制字符串, 并输出到 Action ).
public static int GetHexTo<T>(Action<string> action, Vector256<T> src, string? separator = null, bool noFixEndian = false) where T : struct
Parameters
actionAction<string>Output action (输出动作).
srcVector256<T>Source value (源值).
separatorstring(Optional) The separator (分隔符).
noFixEndianbool(Optional) No fix endian (不修正端序).
Returns
- int
Returns the length of the output string (返回输出字符串的长度).
Type Parameters
TThe vector element type (向量中的元素的类型).
GetHexTo<T>(Action<string>, Vector512<T>, string?, bool)
Gets a hexadecimal string of the Vector512 and outputs it to Action (取得 Vector512 的十六进制字符串, 并输出到 Action ).
public static int GetHexTo<T>(Action<string> action, Vector512<T> src, string? separator = null, bool noFixEndian = false) where T : struct
Parameters
actionAction<string>Output action (输出动作).
srcVector512<T>Source value (源值).
separatorstring(Optional) The separator (分隔符).
noFixEndianbool(Optional) No fix endian (不修正端序).
Returns
- int
Returns the length of the output string (返回输出字符串的长度).
Type Parameters
TThe vector element type (向量中的元素的类型).