Add Documentation to blocks reader and writer.
Refactor and simplify how we read/write binary data.