[SOLVED] InputStream from media field

Hi all.

I’ve done a plugin with an InputStream as parameter

var success = plugins.myplugin(InputStream is);

I need to pass as parameter a blob field into a Media field in Servoy.

How can I convert my media/blob filed into an InputStream?

Best regards. Roberto Blasco

Solved !!!

https://www.servoy.com/forum/viewtopic.php?f=22&t=3033&p=63546&hilit=get+bytes+media#p63546

Best regards. Roberto Blasco.