Fast conversion to text format with character strings. More...
|Converter (char *begin, char *end)|
|Converter (int buffer_size=250) ecl_debug_throw_decl(StandardException)|
|char *||operator() (const unsigned short &input)|
Fast conversion to text format with character strings.
Provides a fast conversion to text using character strings. This implementation is based on a technique similarly used in the stlsoft libraries.
This class uses a character buffer for the character strings that it generates. Ensure your converter does not go out of scope while using the character strings otherwise your character strings will end up pointing at rubbish.
Constructor that initialises with an internal buffer.
|buffer_size||: size of the buffer to create - if not supplied it initialises a buffer of size 250.|
|StandardException||: throws if it failed to allocate memory for the internal buffer [debug mode only].|