I’m invoking a current service by putting my desired input file into the /ns/… directory and it works if I do the following steps with the inboundFile object:
StreamToBytes, bytesToStream. I then begin reading pieces out of the stream. My program
is written to make use of the pub.io.read() with a bufferArray, etc.
The problem is how do I get this to work WITHOUT loading the whole file into memory? I have tried casting the inboundFile (via FTP) as an InputStream, BufferedInputStream and nothing seems to work. Does anyone know a workaround,
or a different cast I need to try? If the answer is in documentation, please tell me which doc, I have been searching for quite some time.