That depends on what they mean (i.e. are they just small numbers or some
enocoding of numbers?), but probably just this:

julia> v = rand(Uint8,5)
5-element Array{Uint8,1}:
 0x72
 0xc0
 0xae
 0x82
 0xf6

julia> int(v)
5-element Array{Int64,1}:
 114
 192
 174
 130
 246



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

> 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
>
>
>

Reply via email to