TypeUtils

Members

Static functions

convertHexDigit
byte convertHexDigit(byte c)

@param c An ASCII encoded character 0-9 a-f A-F @return The byte value of the character 0-16.

convertHexDigit
int convertHexDigit(char c)

@param c An ASCII encoded character 0-9 a-f A-F @return The byte value of the character 0-16.

convertHexDigit
int convertHexDigit(int c)

@param c An ASCII encoded character 0-9 a-f A-F @return The byte value of the character 0-16.

fromHexString
byte[] fromHexString(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
getSimpleName
string getSimpleName(TypeInfo info)
Undocumented in source. Be warned that the author may not have intended to support it.
numberOfLeadingZeros
int numberOfLeadingZeros(int i)

Returns the number of zero bits preceding the highest-order ("leftmost") one-bit in the two's complement binary representation of the specified {@code int} value. Returns 32 if the specified value has no one-bits in its two's complement representation, in other words if it is equal to zero.

parseInt
int parseInt(string s, int offset, int length, int base)
Undocumented in source. Be warned that the author may not have intended to support it.
toHex
void toHex(byte b, Appendable buf)
Undocumented in source. Be warned that the author may not have intended to support it.
toHex
void toHex(int value, Appendable buf)
Undocumented in source. Be warned that the author may not have intended to support it.
toHex
void toHex(long value, Appendable buf)
Undocumented in source. Be warned that the author may not have intended to support it.
toHexString
string toHexString(byte b)
Undocumented in source. Be warned that the author may not have intended to support it.
toHexString
string toHexString(byte[] b)
Undocumented in source. Be warned that the author may not have intended to support it.
toHexString
string toHexString(byte[] b, int offset, int length)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta