I have been trying to do the above, but can't find any easy-to-do way to go about this. My thinking as to the easiest way to do this would be to use the to_string function of the ByteStream class to serialize the bytes to a string using the proper encoding format, send it and the encoding format label over to hayhooks endpoint, and then have the api convert this string back into a ByteStream object. Would this be potentially more easily done as a custom component, or am I maybe overthinking this process and missing a simpler solution? Thanks!~
I have been trying to do the above, but can't find any easy-to-do way to go about this. My thinking as to the easiest way to do this would be to use the
to_string
function of theByteStream
class to serialize the bytes to a string using the proper encoding format, send it and the encoding format label over to hayhooks endpoint, and then have the api convert this string back into aByteStream
object. Would this be potentially more easily done as a custom component, or am I maybe overthinking this process and missing a simpler solution? Thanks!~