binarystream

Is it possible to download a binary file from JSP?

I think is it quite possible, but I'm not sure. I don't have the possibility to use servlet directly, so I'm forced to use JSP ( long history, short time, you don't want to hear ) So I think something like the following will do: // PSEUDO-CODE: // source.jsp Download your file <a href="file.jsp?xyz">MyDocument.doc</a> // file.jsp ...

Are there equivalent classes or functions to DataInputStream in Java for the iPhone to read binary information

Java provides classes DataInputStream and DataOutputStream to read/write binary data (as bytes) in a structured way like DataInputStream.readInt()/readLong()/read(byte[]) from a byte stream; likewise for the DataOutputStream. Are there equivalent classes or functions to the same in iPhone? ...

Problem in Reading a Stream

Hi, I'm using fstream to read a stream from a binary file. I use the method get(). fstream f1("Log.dat", ios::in | ios::binary); char zMsgSize[MSG_SIZE]; zMsgSize[0] = '\0'; f1.get(zMsg, CHR_END); CHR_END is a special terminating character that I have put in the file earlier. There are null characters in the file I'm reading, that'...

binary serialization, adding a new field to class - will it work?

I have a client and a server application which communicate over .NET 2.0 Remoting using binary serialization. A small change has been made to one of the data transfer object's interface and the implementing class, well, an array of strings field was added. If I to redeploy a new version of server application, will my old clients cont...