Ok, i figured it out, no more answer is needed.
If you are interested in how to serialize a
bytes array - wich is actually extremely simple -
have a look at the attchement. The trick is that,
as far as I know, you should avoid at all cost to
send bytes alongside with other types of objects.
If you do so, the bytes you receive may not be the
same as those you sent.
On Thu, 12 July 2001, Frank Bellegarde wrote:
>
> Hi there,
>
> I had to find a title that would catch your attention.
> It seems nobody ever answer to my questions. :(
>
> Here's the problem:
> I try to pipe a 3ds file throught Externalizable
> interface but if the size of the file exceed 1024 bytes
> then 1024 bytes is the size of the copy. I send the file as an array of byte. I
>tried to send it as
> multiples arrays of 1024 bytes but got no result.
>
> Could someone please tell me that he knows how to
> achieve this?
>
> Thanks
> Frank B.
>
Find the best deals on the web at AltaVista Shopping!
http://www.shopping.altavista.com
BytesArrayContainer.java