Top "Stream" questions

DO NOT USE FOR THE JAVA STREAM API INTRODUCED IN JAVA 8 (use [java-stream] for those questions!

Creating Zip file from stream and downloading it

I have a DataTable that i want to convert it to xml and then zip it, using DotNetZip. finally user …

c# asp.net zip stream dotnetzip
Error handling with node.js streams

What's the correct way to handle errors with streams? I already know there's an 'error' event you can listen on, …

node.js stream
FileUpload to FileStream

I am in process of sending the file along with HttpWebRequest. My file will be from FileUpload UI. Here I …

c# asp.net file-upload stream filestream
std::ofstream, check if file exists before writing

I am implementing file saving functionality within a Qt application using C++. I am looking for a way to check …

c++ stream std fstream ofstream
Video streaming with HTML 5 via node.js

I'm trying to set up a web server that will support streaming video to an HTML5 video tag using node.…

video html stream node.js
How To Use HttpWebRequest/Response To Download A Binary (.exe) File From A Web Server?

I am writing a program that needs to download an .exe file from a website and then save it to …

c# stream httpwebrequest streamreader httpwebresponse
Does disposing streamreader close the stream?

I am sending a stream to methods to write on, and in those methods I am using a binary reader/…

c# stream streamreader
Difference between `open` and `io.BytesIO` in binary streams

I'm learning about working with streams in Python and I noticed that the IO docs say the following: The easiest …

python io stream
An elegant way to consume (all bytes of a) BinaryReader?

Is there an elegant to emulate the StreamReader.ReadToEnd method with BinaryReader? Perhaps to put all the bytes into a …

c# .net stream streamreader binaryreader
Android - Store inputstream in file

I am retrieveing an XML feed from a url and then parsing it. What I need to do is also …

android input stream