TODO: fix bug when trying to read 4 bytes as float number