Add a stream-from-buffer option