After further delving in the docs and banging of head against wall, I've done it.
I needed to pass <stream>.GetStreamId() back in the resultset from the fetch method of the query, and then use s stream = ##class(%SerialStream).%Open(<resultset>.GetData(<columnno>)) to be able to recover the stream data from the results of the query.
