Format a long (treated as unsigned) into a character buffer.
@param val the unsigned long to format
@param shift the log2 of the base to format in (4 for hex, 3 for octal, 1 for binary)
@param buf the character buffer to write to
@param offset the offset in the destination buffer to start at
@param len the number of characters to write
@return the lowest character location used
Format a long (treated as unsigned) into a character buffer. @param val the unsigned long to format @param shift the log2 of the base to format in (4 for hex, 3 for octal, 1 for binary) @param buf the character buffer to write to @param offset the offset in the destination buffer to start at @param len the number of characters to write @return the lowest character location used