Replace BasicFormatter::Format with BasicWriter::FormatInt.
Add example.