cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
M4k5
New Member

Handling hex files with MSB set in base64 format becomes faulty in handling process

Hi,

 

I am currently working on a project where a manually generated hex file is used. There are cases where the MSB of some bytes are set as shown in Figure 1 as an example. 

M4k5_0-1626791118519.png

This file then gets converted to a base64 string for usage in the Flow which looks like this:

 

First String:

8GVzdDEyMw==

 

In my Flow I then combine this String with another base 64 String by converting both to binary:

 

Second String:

QWRkb24=

 

M4k5_1-1626791679357.png

 

As an output I get an base64 string which is combined:

 

Output String:

77+9ZXN0MTIzQWRkb24=

 

M4k5_2-1626791785835.png

 

When trying to reconvert this combined base64 string back into hex I get unexpected hex values which do not represent the inserted hex file:

M4k5_3-1626791859183.png

 

This problem only occured when setting an MSB in the hex file.

Maybe there is a conversion problem in Power Automate or I am unaware of something I am doing wrong.

 

Thanks already!

Maks

1 REPLY 1
M4k5
New Member

Does nobody has any idea on how to fix this?

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,783)