ToBase produces n in base b. For example ToBase(2047, 22) -> [1, 5, 4] 1 * 22^0 1 5 * 22^1 110 4 * 22^2 1936 ---- 2047 ToBase panics for bases < 2.
(n *big.Int, b int)
source not stored for this graph (policy: none)