how can I convert text to binary data but in client action in mobile ?

how can I convert text to binary data but in client action in mobile ?

  

hi,


any idea how can I convert text to binary data but in client action in mobile ?


thanks.

what kind of text?

what kind of binary data?


For text containing base64 image, you can just remove the "data:image/png;base64," part to convert it to Image Binary Data.


Here's sample of Javascript code you can use in client action (mobile):

$parameter.fixedImage type is BinaryData.


I think in Javascript, you can assign any text to any binary data if you need to.