Thanks for your help, but I have another (maybe dumb!) question. Isn't casting it to Byte[] mean an array of "Byte" Objects..whuch would be Byte[0],Byte[1]...etc.. Is it that difficult to send an array of bytes? Thanks, Vidula
--- "Newman, Scott" <[EMAIL PROTECTED]> wrote: > The object Byte, rather than the native type byte. > > -----Original Message----- > From: vidula pant [mailto:[EMAIL PROTECTED]] > Sent: 18 April, 2002 1:43 PM > To: [EMAIL PROTECTED] > Subject: RE: Help required!! > > I don't quite get it? "BYTE[]" do you mean "Byte" > the > wrapper class? > -Vidula > --- [EMAIL PROTECTED] wrote: > > I think it will be BYTE[] theByte = (BYTE[]) > > someMethodThatReturnObject(); > > and then you have to convert it in to primitive > type > > array ..... > > > > rajesh > > > > > > > > > > Please respond to [EMAIL PROTECTED] > > > > > > > > To: "'[EMAIL PROTECTED]'" > > <[EMAIL PROTECTED]> > > > > > > cc: > > (bcc: Rajesh Mittal/HBUS/HSBC) > > Subject: RE: Help required!! > > > > > > > > cast it to a byte[] .... byte[] bytes = > > (byte[])someMethodThatReturnObject(); > > > > if your sure it will be a byhte array > > > > -----Original Message----- > > From: vidula pant [mailto:[EMAIL PROTECTED]] > > Sent: Thursday, April 18, 2002 1:55 PM > > To: [EMAIL PROTECTED] > > Subject: Help required!! > > > > > > When returning byte arrays, the return type is > > Object. > > So I am confused how would I get the byte array? > > Many thanks for any help, > > Vidula > > > > > > __________________________________________________ > > Do You Yahoo!? > > Yahoo! Tax Center - online filing with TurboTax > > http://taxes.yahoo.com/ > > > > > > > > > > > > > > > > > > > ******************************************************************** > > This message and any attachments are > confidential > > to the ordinary > > user of the e-mail address to which it was > > addressed and may also > > be privileged. If you are not the addressee > > you may not copy, > > forward, disclose or use any part of the > > message or its > > attachments and if you have received this message > > in error, please > > notify the sender immediately by return e-mail > and > > delete it from > > your system. > > > > Internet communications cannot be guaranteed > > to be secure or > > error-free as information could be intercepted, > > corrupted, lost, > > arrive late or contain viruses. The sender > > therefore does not > > accept liability for any errors or omissions > in > > the context of > > this message which arise as a result of > > Internet transmission. > > > > Any opinions contained in this message are those > of > > the author and > > are not given or endorsed by the HSBC Group > company > > or office > > through which this message is sent unless > otherwise > > clearly > > indicated in this message and the authority of > the > > author to so > > bind the HSBC entity referred to is duly > verified. > > > > > ******************************************************************** > > > __________________________________________________ > Do You Yahoo!? > Yahoo! Tax Center - online filing with TurboTax > http://taxes.yahoo.com/ __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/
