Use actions of Binary Data Client Side library if you want to do conversions between Binary - Base64 - Text, or if you want to get the size of binary data.
Instructions - Create Dependencies
Let's create the dependencies.
Go to "Add Public Elements" or Click Ctrl + Q and select all the actions from the "Binary Data Client Side" app.
Instructions - Transform Binary to Base64
1. Adding the variables for transformation.
Create 2 variables. The first one, rename it to "BinaryData" and place the Data Type as Binary to pass for the transformation. The second one rename it to "Base64" and place the Data Type as text to receive the result of the transformation.
2. Implementing the transformation in a flow.
Create a Client Action and fill the inputs to execute the transformation.
Name the client action to "TransformBinaryToBase64".
Go to Logic and Drag and Drop the "BinaryToBase64" action and an Assign to the flow.
Now we can fill the inputs as the images below.
Instructions - Transform Base64 to Binary
Create 2 variables. The first one rename it to "Base64" and place the Data Type as text to pass for the transformation. The second one, rename it to "BinaryReturnedFromBase64" and place the Data Type as Binary to receive the result of the transformation.
Name the client action to "TransformBase64ToBinary".
Go to Logic and Drag and Drop the "Base64ToBinary" action and an Assign to the flow.
Instructions - Transform Binary to Text
Create 2 variables. The first one, rename it to "BinaryData" and place the Data Type as Binary to pass for the transformation. The second one rename it to "Text" and place the Data Type as text (the one who is the result of transformation).
Name the client action to "TransformBinaryToText".
Go to Logic and Drag and Drop the "BinaryDataToText" action and an Assign to the flow.
Instructions - Transform Text to Binary
Create 2 local variables. The first one rename it to "Text" and place the Data Type as text to pass for the transformation. The second one, rename it to "BinaryReturnedFromText" and place the Data Type as Binary to receive the result of the transformation
Name the client action to "TransformTextToBinary".
Go to Logic and Drag and Drop the "TextToBinaryData" action and an Assign to the flow.
Instructions - Calculate the Size
1. Adding the variables for Calculation.
Create 2 local variables. The first one, rename it to "BinaryData" and place the Data Type as Binary to pass for the calculation. The second one rename it to "Size" and place the Data Type as text to receive the result of the calculation.
2. Implementing the Calculation in a flow.
Create a Client Action and fill the inputs to perform the transformation.
Name the client action to "CalculateSize".
Go to Logic and Drag and Drop the "BinaryDataSize" action, after Drag and Drop the "BinarySizeFormat" action and an Assign to the flow.