Re: how to convert byte[] to object[]

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi Peter,

I did manage to convert byte[] to object[] using Arrays.Copy but it does not
solve me problem. Actually PutEx is expecting an object array containing
byte array. Doing that so my problem.

Thanks,
Alex

"Peter Duniho" wrote:

On Thu, 24 Apr 2008 08:06:18 -0700, <EF@xxxxxxxxxxxxx> wrote:

How do I convert a byte[] to an object[]?

Copy each element to an object[]. I take as granted that you really have
to do this, 'cause it's not going to be efficient. :)

Pete

.