This method copies the source octet string into the destination parameter.
Octet Strings are different from character strings in that they do not have to be null terminated. The caller must call the freeOctetString() method on all strings copied by this function.
- Parameters
-
pSource | [ in ] The binary octet string to copy, length can be zero |
pDestination | [ out ] Copy of the binary octet string |
- Returns
Success | P6R::eOk | |
Failure | P6R::eNotInitialized | A successful call to initialize was not made before this call. |
P6R::eInvalidArg | pSource or pDestination are NULL. |
P6R::eNoMemory | Insufficent memory to copy octet string. |