fn toStringAlloc(self: Const, allocator: Allocator, base: u8, case: std.fmt.Case) Allocator.Error![]u8

Converts self to a string in the requested base. Caller owns returned memory. Asserts that base is in the range [2, 16]. See also toString, a lower level function than this.

Parameters

self: Const,
allocator: Allocator,
base: u8,
case: std.fmt.Case,