The Hexer type exposes the following members.
Methods
| Name | Description | |
|---|---|---|
| Bytes2Text |
Converts an array of bytes in the corresponding string using UTF8 encoding.
| |
| BytesToHex(array<Byte>[]()[][], HexEnum) |
Convert a stream of bytes into a string of hexadecimal numbers, without divisor char.
| |
| BytesToHex(array<Byte>[]()[][], Char) |
Convert a stream of bytes into a string of hexadecimal numbers
| |
| GetNumberOfBytesInHexString |
Gets the number of bytes in input hexadecimal string.
| |
| Hex2Bytes |
Creates a byte array from the hexadecimal string. Each two characters are combined
to create one byte. First two hexadecimal characters become first byte in returned array.
Non-hexadecimal characters are ignored.
| |
| Hex2Text |
Transform hex series into the corresponding string
| |
| IsHex |
Check if supplied string is a series of hexadecimal numbers.
The check is made ONLY on the first 20 hex numbers, if these are present.
| |
| IsHexDigit |
Determines whether the specified char is a hex digit, that is
it is between 0..9..F
| |
| Text2Bytes |
Creates a byte array from a string using UTF8 encoding.
| |
| Text2Hex(String) |
Transform a string to hex, without dividing character between hexes
| |
| Text2Hex(String, HexEnum) |
Transform a string to hex
| |
| Text2Int |
Transform a string to a int number summing
the ASCII value if its characters
|