Returns the int value of a given hex digit char.
Returns the int value of a given hex digit char. Note: this implementation is very fast (since it's branchless) and therefore does not perform ANY range checks!
Returns the lower-case hex digit corresponding to the last 4 bits of the given Int.
Returns the lower-case hex digit corresponding to the last 4 bits of the given Int. (fast branchless implementation)
Returns the lower-case hex digit corresponding to the last 4 bits of the given Long.
Returns the lower-case hex digit corresponding to the last 4 bits of the given Long. (fast branchless implementation)
Efficiently lower-cases the given character.
Efficiently lower-cases the given character. Note: only works for 7-bit ASCII letters.
Efficiently upper-cases the given character.
Efficiently upper-cases the given character. Note: only works for 7-bit ASCII letters.
Returns the upper-case hex digit corresponding to the last 4 bits of the given Int.
Returns the upper-case hex digit corresponding to the last 4 bits of the given Int. (fast branchless implementation)
Returns the upper-case hex digit corresponding to the last 4 bits of the given Long.
Returns the upper-case hex digit corresponding to the last 4 bits of the given Long. (fast branchless implementation)