Variable - Const
Type
const int
Description
This flag can be used to fill leading number spaces with zeros when appending a number with minimum digits specified.
Example
FastString
fstr = new FastString(256);
void Render() { fstr.Set(123); RB.Print(new Vector2i(0, 0), Color.white, fstr);
fstr.Set(123, 5, FastString.FILL_ZEROS); RB.Print(new Vector2i(0, 20), Color.white, fstr);
fstr.Set(123, 5, FastString.FILL_SPACES); RB.Print(new Vector2i(0, 40), Color.white, fstr); } |
See Also
FastString.Append
FastString.Clear
FastString.FILL_SPACES
See Docs
Features - Avoid GC with Fast String
|