hpdvs2
New member
In VB6 I used the API CopyMemory to do byte for byte copies between Integers and Strings. In VB6 an int was 2 bytes, and a long was 4 bytes.
A great deal of my Code Modeling is based off of the ability to do this. I need to do a byte for byte copy between Strings and Integers. Particularly Im intrested in Int64, which is 8 bytes of data.
Please do not respond to this if your answer doesnt always require that the string by the same byte length as the Integer. Thank you.
A great deal of my Code Modeling is based off of the ability to do this. I need to do a byte for byte copy between Strings and Integers. Particularly Im intrested in Int64, which is 8 bytes of data.
Please do not respond to this if your answer doesnt always require that the string by the same byte length as the Integer. Thank you.