Is there a way Convert a number from Base B1 to Base B2 without using any intermediate base.
Ex:
214 from base 5 to base 16 without converting it first to decima
Not sure what you mean. Numbers in those languages aren't in base 10 (if anything, they're base 2) -- when you format the number into a string, you format it with a base.
So, if you have a string representation of a number and you convert it to a number, and then format as a different base -- you aren't converting to base 10 -- you are converting string to int to string.
So, if the question is how do I take a string that represents a number in base B1 and convert it to a string in base B2 without converting it to an int, then I don't see a way to do that easily.
In your example 214 in base 5 is 2*5^2 + 1 * 5 + 4
-- but if you don't want to convert to int, then you don't know that. This number is 59 in base 10, but the computer sees it as 00111011. You can easily format that as Hex. Ultimately, you need to do the divides and multiplies anyway, and store the intermediate results somewhere.