The following tables list the members exposed by the CardHex type.

Name Description
Public method Static AND(byte[], byte[]) ANDs two byte arrays of equal length..
Public method Static BitWiseAndForArray(byte[], byte[]) Calculate bitwise AND for two arrays with leading zero padding of the shorter byte array.
Public method Static BitWiseAndForArrayIsNotZero(byte[], byte[]) Returns true if bitwise AND of two arrays is not equal to 0.
Public method Static Compare(byte[], byte[], int) Compares objects.
Public method Static Compare(byte[], int, byte[], int, int) Compares a section of one byte array with the section of a second byte array.
Public method Static DataToTrace(byte[]) Converts binary data into a string representation based on the Windows 1252 encoding.
Public method Static DataToTrace(byte[], int, int) Converts binary data into an ASCII string representation. Unprintable characters are replaced by dots.
Public method Static FromBcd(byte[]) convert BCD encoded byte array to int value
Public method Static FromByte(byte) Converts a given byte into a string of two hex digits.
Public method Static FromByteArray(byte[], int, int, int) Interprets a byte array as MSB first (leftmost bit) and then allows extraction, of a int (32 bit) value by byte offset, bit offset and number of bits COUNTING BITS FROM LSB to MSB i.e. right to left.
Public method Static FromByteArray(byte[]) Converts the entire given byte array into a string of hex digits.
Public method Static FromByteArray(byte[], int, int) Converts a range from the given byte array into a string of hex digits.
Public method Static FromDigit(char) Returns the numerical value of the given hex digit character.
Public method Static FromDword(int) Converts a given 32 bit DWORD into a string of eight hex digits. The most significant nibble will be encoded as the first character, the least significant nibble will be encoded as the eighth character.
Public method Static FromWord(int) Converts a given 16 bit word into a string of four hex digits. The most significant nibble will be encoded as the first character, the least significant nibble will be encoded as the fourth character.
Public method Static IsDigit(char) Tests whether the given character is a valid hex digit.
Public method Static IsEqual(byte[], byte[]) Tests whether two given byte arrays are binary identical. Returns false if either parameter is null.
Public method Static IsEqual(byte[], int, byte[], int, int) Tests whether two sections of byte arrays are binary identical.
Public method Static IsHex(string) Checks whether the given string is a valid hex number.
Public method Static ToByteArray(string) Converts a string of hex digits into a byte array.
Public method Static ToByteArray(string, byte[], int) Converts a string of hex digits into bytes into a byte array.
Public method Static ToDigit(int) Converts an int representing a nibble to a hex digit character to a given value.
Public method Static XORN(byte[], byte[]) XORes an two byte arrays of equal length.
Top