No problem – glad one of the answers was what you needed!

On Mon, May 5, 2014 at 10:27 AM, Einar Otnes <[email protected]> wrote:

> Great, Thanks.
>
> Yes, reinterpret was what I was after. I apologize for the ambiguous
> question. But I got the help I needed.
>
> Thanks again.
>
>
>
> On Monday, May 5, 2014 2:33:17 PM UTC+2, Andreas Noack Jensen wrote:
>
>> I think you are searching for reinterpret, e.g.
>>
>> julia> reinterpret(Int32, [0x00,0x01,0x00,0x00])
>> 1-element Array{Int32,1}:
>>  256
>>
>> 2014-05-05 11:27 GMT+02:00 Einar Otnes <[email protected]>:
>>
>> Dear Experts,
>>>
>>> How do I convert a Byte Array to a specific type?
>>> E.g. a 4-element Array of Uint8 to type Int32.
>>>
>>> Thanks,
>>> Einar Otnes
>>>
>>>
>>>
>>
>>
>> --
>> Med venlig hilsen
>>
>> Andreas Noack Jensen
>>
>

Reply via email to