[julia-users] Re: Parse Array of Bytes

2016-06-22 Thread jw3126
Thats exactly what I was looking for, thanks! On Wednesday, June 22, 2016 at 3:11:17 PM UTC+2, David van Leeuwen wrote: > > Probably just > > reinterpret(Float32, block) > > ---david > > On Wednesday, June 22, 2016 at 2:56:46 PM UTC+2, jw3126 wrote: >> >> I have an array containing 4n bytes (::Ar

[julia-users] Re: Parse Array of Bytes

2016-06-22 Thread David van Leeuwen
Probably just reinterpret(Float32, block) ---david On Wednesday, June 22, 2016 at 2:56:46 PM UTC+2, jw3126 wrote: > > I have an array containing 4n bytes (::Array{UInt8,1}) and I want to parse > it into an array of n Float32. What is a sane way of doing this? >