Method | Description | |
---|---|---|
ToBytes ( string hex ) : byte[] |
Converts a sequence of hexadecimal pairs into a byte array, ie F0 will yield [ 255 ] and FF00 will yield [ 255, 0 ]. This is the inverse function of ToHex(byte[] buffer)
|
|
ToHex ( byte buffer ) : string |
"Hexifies" a byte array
|
|
ToHex ( byte buffer, int offset, int length ) : string |
"Hexifies" a byte array
|
|
ToHex ( int value ) : string |
"Hexifies" an integer
|
public static ToBytes ( string hex ) : byte[] | ||
hex | string | |
return | byte[] |
public static ToHex ( byte buffer, int offset, int length ) : string | ||
buffer | byte | |
offset | int | |
length | int | |
return | string |