Byte Values Byte*=(numPtr + (num6 * 4))

  • Thread starter Thread starter DJrWo
  • Start date Start date
D

DJrWo

Guest
I have this Project where I'm updating Module

now working with bytes a ran across this line of code in VB

Dim num6 As Integer
Dim numPtr As Byte = CByte(data.Scan0)
Dim numPtr2 As Byte*= (numPtr + (num6 * 4))

What does it do? or how do I reproduce it without getting errors?

I'm assuming it loops through the numPtr by 4 characters and uses those to do calculations.

Has something to do with cropping and image/bitmap

DJ

Continue reading...
 
Back
Top