Date: 02-16-2022
Return to Index
created by gbSnippets
'Intel normally stores as Little Endian byte order
'Flipping byte order from 0123 to 3210 can be done like this:
Function BSWAP(i As Long) As Long
Dim byteArr(3) As Byte At VarPtr(i)
Swap byteArr(0), bytearr(3)
Swap byteArr(1), bytearr(2)
End Function
'gbs_01339
'Date: 05-11-2013
http://www.garybeene.com/sw/gbsnippets.htm