Working with raw data

Hi folks!
I don’t understand how work with raw data. Is there someone that can explain it to me?
I got a domFloat3 object and I would like to get ALL data within it in block and transfer them in memory but i don’t understand how the “index” parameter works.

I got a situation like this one:

domFloat3 value = // get value from somewhere
daeMemoryRef mem = value.getRaw(value.getCount() * sizeof(float));

so…how can i retrieve correct values now??? :?: :?: :?:

if i try something like this

float firstvalue = (float*)mem[0];

i get wrong a value!

please help me :!: