Method | Description | |
---|---|---|
Decode ( string s ) : byte[] |
Converts the specified string, which encodes binary data as hexadecimal digits, to an equivalent 8-bit unsigned integer array.
|
|
Encode ( byte buffer, string format = "G" ) : string |
Converts an array of 8-bit unsigned integers to its equivalent hexadecimal string representation.
|
|
ToHexBuffer ( this s ) : byte[] |
Converts the specified string, which encodes binary data as a hexadecimal string, to an equivalent 8-bit unsigned integer array.
|
|
ToHexString ( this buffer, string format = "G" ) : string |
Converts an array of 8-bit unsigned integers to its equivalent hexadecimal string representation.
|
public static Decode ( string s ) : byte[] | ||
s | string | /// The hexadecimal string to convert. /// |
return | byte[] |
public static Encode ( byte buffer, string format = "G" ) : string | ||
buffer | byte |
/// An array of |
format | string | /// One of the format specifiers ("G" and "x" for lower-case hex digits, or "X" for the upper-case). /// The default is "G". /// |
return | string |
public static ToHexBuffer ( this s ) : byte[] | ||
s | this | /// The hexadecimal string to convert. /// |
return | byte[] |
public static ToHexString ( this buffer, string format = "G" ) : string | ||
buffer | this |
/// An array of |
format | string | /// One of the format specifiers ("G" and "x" for lower-case hex digits, or "X" for the upper-case). /// The default is "G". /// |
return | string |