Renamed WriteTo to EncodeTo.
Renamed ReadFrom to DecodeFrom.
Fixed println statement (printf).