🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.java.language
Article #8091

Re: Object to Byte[] ?

#8091
From: Calvin R. Smith
Date: Tue, 24 Apr 2001 21:06
16 lines
1424 bytes
to get the byte's the object must be streamable, then it is a simply matter
of streaming the object into a ByteArrayOutputStream and asking for the byte
array.

"Frajola" <frajola@telemar.com.br> wrote in message news:3ae5dc3b_1@dnews...
> How can I casting of a Object to a Byte array?
>
> I have a class and need to transform in bytes array.
>
> Tanks.
>
> frajola@telemar.com.br
>
>
>
>
Technical Details
Message-ID: <3ae5eb33$1_1@dnews>
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews
References: <3ae5dc3b_1@dnews>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10158c,cce83a91b4e07e97
X-Google-Attributes: gid10158c,public
X-Google-Thread: f74b3,cce83a91b4e07e97
X-Google-Attributes: gidf74b3,public
X-Google-ArrivalTime: 2001-04-24 14:14:03 PST
Reply-To: "Calvin R. Smith" <calvinrsmith@hotmail.com>
From: "Calvin R. Smith" <calvinrsmith@hotmail.com>
Newsgroups: borland.public.jbuilder.java.language,borland.public.jbuilder.opentools
References: <3ae5dc3b_1@dnews>
Subject: Re: Object to Byte[] ?
Date: Tue, 24 Apr 2001 15:06:24 -0600
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
NNTP-Posting-Host: 207.201.104.90
Message-ID: <3ae5eb33$1_1@dnews>
X-Trace: dnews 988146483 207.201.104.90 (24 Apr 2001 14:08:03 -0700)
Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews