Hello there...
Maybe I am missing or forgetting something, but is there a good, clean way to convert an array of bytes to a long or a short integer or any other multi-byte type?
My trouble is that I am trying to convert an array created like:
to an array of short integers
and I want to do this without iterating through the whole bte array.
Is this possible somehow?
Thanks.
[red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro
Maybe I am missing or forgetting something, but is there a good, clean way to convert an array of bytes to a long or a short integer or any other multi-byte type?
My trouble is that I am trying to convert an array created like:
Code:
char* array = malloc(10000);
to an array of short integers
and I want to do this without iterating through the whole bte array.
Is this possible somehow?
Thanks.
[red]Nosferatu[/red]
We are what we eat...
There's no such thing as free meal...
once stated: methane@personal.ro