//////////////////// Convert bools Converts bool to string
//////////////////// Convert delegates and functions
//////////////////// Convert enums Converts enum to string If wrong enum value is specified "WrongEnum" string is returned
//////////////////// Convert numbers Converts number of type NUM to string and stores it in buff Internally uses snprintf, string might be cut down to fit in buffer To check for buffer overflow you might compare length of buff and returned string, if they are equal there might be not enought space in buffer NULL char is always added at the end of the string
Converts part of from string to TO variable
//////////////////// Convert slices Converts slice to string Uses to!(string)(el, buff) to convert inner elements If buff.length<=5 null is returned If there is not enought space in the buffer, function converts as much as it coud with string "...]" at the end
Converts string to enum If wrong string is specified max enum base type is returned ex. for: enum:ubyte E{} will return 255
Converts string to numeric type NUM If string is malformed NUM.init is returned
Converts string to struct string format is very strict, returns 0 initialized variable if string is bad Works like struct2str but opposite
//////////////////// Convert structs Converts structs to strings Function is not using to!string so inner elements might be displayed differently ex. enums (they are displayeed as numbers) Elements which cannot be converted are skipped
Converts variable from to Type TO strings are stored in default global buffer
Converts variable from to Type TO strings are stored in buff buffer
Module to replace std.conv 'to' function with similar but @nogc Function in this module use TLS buffer to store string result, so returned strings are valid only to next usage of X->string conversion functions