Switch to encode/decode routines for binary flonum read and write.
Update comments.
Simplify some code.