The reason for this is simple. There are some functionalities in Erlang that do not take Elixir's Streams into consideration (no surprise there), but it still would be useful to utilise them. In my particular case I am fetching file from S3 using ExAWS, which streams file content. That particular file is a Gzipped TAR, which I want to pass to `erl_tar` module. However the only way to do it right now is either create the file on disk or to fetch whole file into memory. But `erl_tar` accepts IO server as a source for the TAR file, which mean that if there would be a way to transform `Stream` into `StringIO` I would have a stream that could pass there and achieve streaming TAR decompression and unpacking.
-- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-core+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/elixir-lang-core/4b1d51a2-336d-48d3-ba8d-f21555b2fb0dn%40googlegroups.com.