Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21089

[RESOLVED] How to put a Long data type in a byte array

$
0
0
I have this number 160043L which I need to put into a byte array as 4 bytes.

The array bytes should look like this after the value has been placed in the array

a(0) = 43
a(1) = 113
a(2) = 2
a(3) = 0

The number 160043 is only an example so the actual value will be different on different occasions

Viewing all articles
Browse latest Browse all 21089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>