Function intToString
An int printing function that doesn't need to import Phobos. Can do some of the things std.conv.to and std.format.format do.
char[] intToString(
long value,
char[] buffer,
IntToStringArgs args = IntToStringArgs(cast(ubyte)0u, '\xff', cast(ubyte)0u, '\xff', cast(ubyte)0u, '\xff')
);
The buffer must be sized to hold the converted number. 32 chars is enough for most anything.
Returns
the slice of buffer containing the converted number.