Prints an integer to an output range with leading zeros to a given width, including the sign for negative numbers.
import mir.appender; auto w = scopedBuffer!char; w.printZeroPad(-123, 5); w.put(' '); w.printZeroPad(123, 5); assert(w.data == "-0123 00123");
Prints an integer to an output range with leading zeros to a given width, including the sign for negative numbers.