Top "Stream" questions

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

How do I read / convert an InputStream into a String in Java?

If you have a java.io.InputStream object, how should you process that object and produce a String? Suppose I …

java string io stream inputstream
How do I save a stream to a file in C#?

I have a StreamReader object that I initialized with a stream, now I want to save this stream to disk (…

c# .net stream
Fastest way to check if a file exist using standard C++/C++11/C?

I would like to find the fastest way to check if a file exist in standard C++11, C++, or C. …

c++ c file stream
Save and load MemoryStream to/from a file

I am serializing an structure into a MemoryStream and I want to save and load the serialized structure. So, How …

c# file io stream memorystream
Get an OutputStream into a String

What's the best way to pipe the output from an java.io.OutputStream to a String in Java? Say I …

java string io stream
Download File to server from URL

Well, this one seems quite simple, and it is. All you have to do to download a file to your …

php http stream download
How do I convert struct System.Byte byte[] to a System.IO.Stream object in C#?

How do I convert struct System.Byte byte[] to a System.IO.Stream object in C#?

c# .net arrays stream
How do I generate a stream from a string?

I need to write a unit test for a method that takes a stream which comes from a text file. …

c# unit-testing string stream
Easy way to write contents of a Java InputStream to an OutputStream

I was surprised to find today that I couldn't track down any simple way to write the contents of an …

java io stream
How to get the stream key for twitch.tv

I write an app for broadcasting to twitch.tv using C++. For that streaming I need to know the user …

stream key twitch