EOS API reference page for EOS_ByteArray_ToString

1 min to read


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.



Parameter Type And NameUsage Information
const uint8_t* ByteArray
const uint32_t Length
char* OutBuffer
uint32_t* InOutBufferLength