And that's if they're a native (i.e. little) endian 4-byte encoding of
32-bit integers. Obviously the question was a bit ambiguous :-)


On Mon, May 5, 2014 at 8:33 AM, Andreas Noack Jensen <
[email protected]> 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