Re: OT: copying binary data with Reader/Writer (rather than Stream)

2000-12-31 Thread Nathan Meyers
e links may be binary > files such as .jpg, .ps.gz, etc. > > My question: can you copy a binary file such as a .jpg using a *Reader, > rather than a Stream? Each byte will then be represented with > a 16bit char, but will writing with a corresponding Writer preserve the > data?

Re: OT: copying binary data with Reader/Writer (rather than Stream)

2000-12-31 Thread Andreas Kopecki
le; some of the links may be binary > files such as .jpg, .ps.gz, etc. > > My question: can you copy a binary file such as a .jpg using a *Reader, > rather than a Stream? Each byte will then be represented with > a 16bit char, but will writing with a corresponding Writer preserve the

OT: copying binary data with Reader/Writer (rather than Stream)

2000-12-31 Thread noisebrain
. My question: can you copy a binary file such as a .jpg using a *Reader, rather than a Stream? Each byte will then be represented with a 16bit char, but will writing with a corresponding Writer preserve the data? Generally the top-level url should be read using a Reader, but I believe it will be

Re: Stream

1999-05-06 Thread Ted Neward
Use FileInputStream or FileOutputStream. At 09:09 AM 5/6/99 +0200, Ozer Irfan wrote: >Hello. >How open a file for read/write ? > >Thanks > >Irfan > > >-- >To UNSUBSCRIBE, email to [EMAIL PROTECTED] >with a subject of "unsubscribe

Stream

1999-05-05 Thread Ozer Irfan
Hello. How open a file for read/write ? Thanks Irfan -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: Sending objects down a stream problem

1998-10-18 Thread Juergen Kreileder
deleted...] Michael> You are trying to send the same object down the same Michael> (already open) object output stream. The serialization Michael> stuff keeps track of what was sent already and does not Michael> send it again. Michael> You can either send new ob

Re: Sending objects down a stream problem

1998-10-18 Thread Michael Sinz
; >I'm trying to send a serialized class down a network pipe and am >only getting the first one on the other end. The rest seem to vanish. [code deleted...] You are trying to send the same object down the same (already open) object output stream. The serialization stuff keeps track of what

Sending objects down a stream problem

1998-10-18 Thread Glenn Valenta
I'm almost sure this is one of those problems cuased by my misconception of how things work in Java v.s. C++, but I have run this thing around for days without resolve. Maybe someone can see the obvious I'm trying to send a serialized class down a network pipe and am only getting the first one