What is the best way to get a number splitted into a vector.<int>?

Let say I have a number 9645
What would be the efficient method to store each number character
like this Vector.<int>[9,6,4,5]