The Hexer type exposes the following members.

Methods

  NameDescription
Public methodStatic memberBytes2Text
Converts an array of bytes in the corresponding string using UTF8 encoding.
Public methodStatic memberBytesToHex(array<Byte>[]()[][], HexEnum)
Convert a stream of bytes into a string of hexadecimal numbers, without divisor char.
Public methodStatic memberBytesToHex(array<Byte>[]()[][], Char)
Convert a stream of bytes into a string of hexadecimal numbers
Public methodStatic memberGetNumberOfBytesInHexString
Gets the number of bytes in input hexadecimal string.
Public methodStatic memberHex2Bytes
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.
Public methodStatic memberHex2Text
Transform hex series into the corresponding string
Public methodStatic memberIsHex
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.
Public methodStatic memberIsHexDigit
Determines whether the specified char is a hex digit, that is it is between 0..9..F
Public methodStatic memberText2Bytes
Creates a byte array from a string using UTF8 encoding.
Public methodStatic memberText2Hex(String)
Transform a string to hex, without dividing character between hexes
Public methodStatic memberText2Hex(String, HexEnum)
Transform a string to hex
Public methodStatic memberText2Int
Transform a string to a int number summing the ASCII value if its characters

See Also