How to convert

A

Anoj

Hi All ,

How can i convert below byte array to 64 bit value using VB.Net

Dim Buff(7) as Byte=new Byte{&HBB,&HAA,&HDD,&HFF,&HAA,&HCC,&HDD}

Thanks
Anoj Kumar
 
A

Anoj

sorry !
The correct array values are

Dim Buff() as Byte=new Byte{&HBB,&HAA,&HDD,&HFF,&HAA,&HCC,&HEE,&HDD}

Thanks
Anoj Kumar
 
?

=?iso-8859-1?Q?Jos=E9_Manuel_Ag=FCero?=

Hello Anoj,

Dim Buff() as Byte = New Byte{&HBB, &HAA, &HDD, &HFF, &HAA, &HCC, &HEE, &HDD}
Dim v as Long = BitConverter.ToInt64(Buff,0)

Regards.


"Anoj" <[email protected]> escribió en el mensaje | Hi All ,
|
| How can i convert below byte array to 64 bit value using VB.Net
|
| Dim Buff(7) as Byte=new Byte{&HBB,&HAA,&HDD,&HFF,&HAA,&HCC,&HDD}
|
| Thanks
| Anoj Kumar
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top