biguintToOctal

fnsize_t biguintToOctal(char[] buff, const(BigDigit)[] data) pure nothrow @safe @nogc

Convert a big uint into an octal string.

Parameters

buffThe destination buffer for the octal string. Must be large enough to store the result, including leading zeroes, which is ceil(data.length * BigDigitBits / 3) characters. The buffer is filled from back to front, starting from buff[$-1].
dataThe biguint to be converted.

Returns

The index of the leading non-zero digit in buff. Will be

buff.length - 1 if the entire big uint is zero.