Top "Stream" questions

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

When will an EOFException occur in JAVA's streams

I am working with a DataInputStream and had a question about EOFExceptions. According to java docs: Signals that an end …

java input stream eofexception
Is there any way to close a StreamWriter without closing its BaseStream?

My root problem is that when using calls Dispose on a StreamWriter, it also disposes the BaseStream (same problem with …

c# stream dispose
How to read a CSV file from a stream and process each line as it is written?

I would like to read a CSV file from the standard input and process each row as it comes. My …

python csv stream line-by-line
flush in java.io.FileWriter

I have a question in my mind that, while writing into the file, before closing is done, should we include …

java stream flush filewriter
Streaming voice between Android Phones over WiFi

I'm trying to stream audio from the mic from 1 Android to another over WiFi. After looking at some examples I …

android audio stream voice
Does YouTube stream Videos via TCP?

I just sniffed some traffic using wireshark and noticed, that the YouTube traffic relies on TCP. I thought, they were …

tcp youtube stream udp rtsp
Create a Stream without having a physical file to create from

I'm needing to create a zip file containing documents that exist on the server. I am using the .Net Package …

c# stream package system.io.packaging
Loop until TcpClient response fully read

I have written a simple TCP client and server. The problem lies with the client. I'm having some trouble reading …

c# .net stream tcpclient
How to disable subtitles decoding in ffmpeg

I'm trying to convert some video file containing video, audio and subtitles streams into another format using FFMpeg. However, ffmpeg …

video stream ffmpeg video-encoding subtitle
How can I complete Observable in RxJS

Let's say we have an Observable: var observable = Rx.Observable .fromEvent(document.getElementById('emitter'), 'click'); How can I make it …

javascript stream observable rxjs reactivex