web stats
Encoded OBX.5.5 - Mirth Community

Go Back   Mirth Community > Mirth Connect > Support

Reply
 
Thread Tools Display Modes
  #1  
Old 06-14-2019, 10:30 AM
cory_cole cory_cole is offline
Mirth Guru
 
Join Date: Mar 2012
Posts: 1,221
cory_cole is on a distinguished road
Default Encoded OBX.5.5

I have found were to convert the value into a string but I need to find out how to read the value in as a byte array.
Reply With Quote
  #2  
Old 06-14-2019, 11:50 AM
agermano agermano is offline
Mirth Guru
 
Join Date: Apr 2017
Location: Indiana, USA
Posts: 771
agermano is on a distinguished road
Default

If you mean you need to change a base64 encoded string to a decoded byte[], you can do this.

Code:
var decoded = FileUtil.decode(msg.OBX['OBX.5']['OBX.5.5'].toString());
Reply With Quote
  #3  
Old 06-14-2019, 11:56 AM
cory_cole cory_cole is offline
Mirth Guru
 
Join Date: Mar 2012
Posts: 1,221
cory_cole is on a distinguished road
Default

Thanks. I had seen that but hadn't used it because this isn't file.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 10:53 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Mirth Corporation