There seems to be nothing that could facilitate this in the progress itself. All I / O is apparently based on the provision of file names.
However, there appears to be an extension called io_new that has input / output streams.
See the documentation here for an example (search "Reading and writing buffers in memory").
source share