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.

The buffer must be sized to hold the converted number. 32 chars is enough for most anything.

char[]
intToString

Return Value

Type: char[]

the slice of buffer containing the converted number.

Meta