[Vm-beginners] Converting between Word and Byte Array
Lars
lars.wassermann at googlemail.com
Wed Jul 11 09:39:28 UTC 2012
Hello,
I'm at the moment working with ARM code, and the most convenient way to
create memory chunks with instructions is word wise, by creating
WordArray instances.
But for some primitives, it would be better to have ByteArrays, because
all pointers are byte-offsets. So borders have to be multiplied by 4,
etc. Is there a convenient way to create one from the other?
The 'asByteArray' or 'ByteArray newFrom:' both don't do the job.
Thank you,
Lars
More information about the VM-beginners
mailing list