Encode a byte array into hex encoded string
Return Value
An EOS_EResult that indicates whether the byte array was converted and copied into the OutBuffer.
EOS_Success if the encoding was successful and passed out in OutBuffer
EOS_InvalidParameters if you pass a null pointer on invalid length for any of the parameters
EOS_LimitExceeded - The OutBuffer is not large enough to receive the encoding. InOutBufferLength contains the required minimum length to perform the operation successfully.
Parameters
EOS_ByteArray_ToString
Parameter Type And Name
|
Usage Information
|
const uint8_t* ByteArray
|
|
const uint32_t Length
|
|
char* OutBuffer
|
|
uint32_t* InOutBufferLength
|
|
Encode a byte array into hex encoded string
{Result.Success} if the encoding was successful and passed out in OutBuffer
{Result.InvalidParameters} if you pass a null pointer on invalid length for any of the parameters
{Result.LimitExceeded} - The OutBuffer is not large enough to receive the encoding. InOutBufferLength contains the required minimum length to perform the operation successfully.
Return Value
An {Result} that indicates whether the byte array was converted and copied into the OutBuffer.
Parameters
Common.ToString
Parameter Type And Name
|
Usage Information
|
byte[] byteArray
|
|
string outBuffer
|
|
Was this document useful?
Thank you for the response!
You’ve marked this document as useful:
yes
You’ve marked this document as not useful:
no