OK, I've got an object that can read int and uint for 8, 16, 24 and 32 bit numbers from a binary file stream. But I cant figure out how to read a float or double. What I want is something like this (these don't work):
double | n | n := Float from: (aFileStream next: 32). ^n
float | n | n := Float from: (aFileStream next: 16). ^n
Any tips?
Thanks
david