Article View: borland.public.jbuilder.java.api
Article #2208Re: Object to Byte[].
From: Michael Rachow
Date: Wed, 25 Apr 2001 06:48
Date: Wed, 25 Apr 2001 06:48
21 lines
1400 bytes
1400 bytes
Hi Frajola, You can cast references stored as a general type only back to its original type or a type "between" the general and the original type. In your case if that Object had not been a Byte (array) before you can't cast it to this type. You have to transform it, e.g., create a Byte (array) from your Object explicitly. Mic "Frajola" <frajola@telemar.com.br> schrieb im Newsbeitrag news:3ae5bda9_2@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:
<3ae676ab_2@dnews>Path:
arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnewsReferences:
<3ae5bda9_2@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1089d0,7177f458549000a1 X-Google-Attributes: gid1089d0,public X-Google-ArrivalTime: 2001-04-25 00:19:51 PST From: "Michael Rachow" <mrachow@BeraCom.de> Newsgroups: borland.public.jbuilder.java.api References: <3ae5bda9_2@dnews> Subject: Re: Object to Byte[]. Date: Wed, 25 Apr 2001 08:48:25 +0200 Lines: 23 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: 217.80.7.22 Message-ID: <3ae676ab_2@dnews> X-Trace: dnews 988182187 217.80.7.22 (25 Apr 2001 00:03:07 -0700) Path: arc1-ca.pugleaf.net!newsfeed.google.com!sn-xit-02!supernews.com!nntp-relay.ihug.net!ihug.co.nz!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!dnews