B
blazingdragon
I'm trying to wrap an ObjectOutputStream around a PipedOutputStream...
It doesn't seem to mind as as the PipedOutputStream isn't connected,
however if I try to wrap the ObjectOutputStream around an already
connected PipedOutputStream, everything simply freezes.. no error
messages or anything.
If I try and connect the pipe afterwards, it doesn't seem to do
anything. -_-; I get a pipe not connected IOException if I try and
write an object into the ObjectOutputStream.
I need to serialize an object and have it be written into an array of
bytes. I'm probably going about this the wrong way, so any suggestions
would be great.
It doesn't seem to mind as as the PipedOutputStream isn't connected,
however if I try to wrap the ObjectOutputStream around an already
connected PipedOutputStream, everything simply freezes.. no error
messages or anything.
If I try and connect the pipe afterwards, it doesn't seem to do
anything. -_-; I get a pipe not connected IOException if I try and
write an object into the ObjectOutputStream.
I need to serialize an object and have it be written into an array of
bytes. I'm probably going about this the wrong way, so any suggestions
would be great.