sayeth
asked on
convent ByteArray To DecimalArray
hay to All
What is the fastest way to convent a ByteArray To DecimalArray
thanks
What is the fastest way to convent a ByteArray To DecimalArray
thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Dim bb(10) As Byte
Dim dd() As Single
Dim i As Integer
'...
ReDim dd(UBound(bb))
For i = 0 To UBound(bb)
dd(i) = BitConverter.ToSingle(bb, 0)
Next i
thank for the help. but one more question on the same topic. i wrote a code that convert single array to bytes array - it work fine but i want a faster way because the single array is very large
i= 0
For lvI = 0 To UBound(dd) 'dd is very large
bb(i)= BitConverter.GetBytes(dd(l
i+4
Next