Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6API P6ERR P6CCALL P6R::p6ComStringByteLen ( const P6COMSTR  pString,
P6SIZE *  pLength 
)

Returns the length in bytes of a P6COMSTR not including the terminating NULL character.

Note
The length returned can differ from the length returned from p6ISafeString::wstrlen() if pString was allocted with p6AllocComStringLen(), or p6AllocComStringByteLen() and string contains embedded NULL characters.
Parameters
pString[ in ] P6COMSTR that was previously allocated via p6AllocComString(), p6AllocComStringLen(), or p6DupComString()
pLength[ out ] The address of a P6SIZE in which will be returned the size in bytes of pString. If pString is NULL, a value of zero will be returned.
Returns