Solved by Scott_Hoang in post #4 
              
              
                the tricky part about reading your data as a byte stream is that there is no data structure. 
let say x = (BxCxWxH), then your bytes stream has a size of  x = (B * C *W * H). Then you must know the type of your data, i.e int, float, double …etc, and figure out of many bytes each type are to read cor…