Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
virtual P6R::P6ERR P6R::p6ISafeString::sizetToStringW ( P6SIZE  value,
P6WCHAR pBuffer,
P6SIZE  cBuffer,
P6UINT32  radix,
P6SIZE pcWritten 
)
pure virtual

Convert a P6SIZE integer to a wide character string with the specified radix.

Radix's of 2 to 36 are supported.

Parameters
value[ in ] The P6SIZE integer to convert into a string.
pBuffer[ out ] The address of a P6WCHAR buffer in which to place the resulting string.
cBuffer[ in ] The size of pBuffer in characters.
radix[ in ] The radix to use for the conversion. The valid range is 2 through 36. Typical values are 8 (octal), 10 (decimal), and 16 (hex).
pcWritten[out, optional] The address of a P6SIZE which, if not NULL, will contain the number of characters placed in pBuffer.
Returns
SuccessP6R::eOk 
FailureP6R::eInvalidArgpBuffer is NULL, cBuffer is zero or radix is out of range
P6R::eTooSmallPbuffer is not large enough to contain the resulting string.