[src]
Converts self to a string in the requested base. Asserts that base
is in the range [2, 16]. string
is a caller-provided slice of at least sizeInBaseUpperBound
bytes, where the result is written to. Returns the length of the string. limbs_buffer
is caller-provided memory for toString
to use as a working area. It must have length of at least calcToStringLimbsBufferLen
. In the case of power-of-two base, limbs_buffer
is ignored. See also toStringAlloc
, a higher level function than this.