public ToString ( uint digits, uint length, uint numberBase, uint &outputLength ) : uint[] | ||
digits | uint | Big integer digits. |
length | uint | Big integer length. |
numberBase | uint | Base to use for output. |
outputLength | uint | Calculated output length (will be corrected inside). |
return | uint[] |
public virtual uint[] ToString(uint[] digits, uint length, uint numberBase, ref uint outputLength)
{
// Default implementation - always call pow2 converter if numberBase is pow of 2
return numberBase == 1U << Bits.Msb(numberBase)
? _pow2StringConverter.ToString(digits, length, numberBase, ref outputLength)
: null;
}
StringConverterBase::ToString ( BigInteger intX, uint numberBase, char alphabet ) : string |