Top "Inputstream" questions

An abstract mechanism for reading a data stream in Java

Java inputStreamReader Charset

I want to ping a target IP address and receive a response. To achieve this, I'm using windows command line …

java character-encoding inputstream inputstreamreader
HttpURLConnection downloaded file name

Is it possible to get the name of a file downloaded with HttpURLConnection? URL url = new URL("http://somesite/getFile?…

java http inputstream httpurlconnection
How can an app use files inside the JAR for read and write?

I need to store data into files inside .jar file and read it again. I know that I can use …

java jar inputstream outputstream
How do I peek at the first two bytes in an InputStream?

Should be pretty simple: I have an InputStream where I want to peek at (not read) the first two bytes, …

java inputstream bufferedinputstream
Android AudioTrack playing .wav file, getting only white noise

When I play a file with the following code: private void PlayAudioFileViaAudioTrack(int ResId) throws IOException { int intSize = android.media.…

android audio bytearray inputstream pcm
Testing for empty InputStream in Java

how do you guys test for an empty InputStream? I know that InputStream is designed to work with remote resources, …

java inputstream java-io
Why is it good to close() an inputstream?

I have a sound experience in Java programming language. But one thing that has always been in my mind is …

java buffer inputstream outputstream
How to log request inputstream with HttpModule, then reset InputStream position

I am trying to log the contents of an http request, using an IHttpModule like so: public class LoggingModule : IHttpModule { …

.net httpmodule inputstream
How can I convert ZipInputStream to InputStream?

I have code, where ZipInputSream is converted to byte[], but I don't know how I can convert that to inputstream. …

java inputstream zipinputstream
A resource was acquired at attached stack trace but never released - Error

I'm not sure why I am getting this error, 2 out of 5 times I set the wallpaper using the emulator, I …

android inputstream bytearrayoutputstream